Omer Bar-or (cremlae) wrote in lj_nifty,
Omer Bar-or
cremlae
lj_nifty

GreaseMonkey: Polls for Basic Users

I built a GreaseMonkey script to allow basic users to post polls. (Other users already can, but LJ does not allow basic users to.) One caveat: since the poll and its results can't be stored on LiveJournal itself, they're stored on my server.

Here's how it works.

  1. You'll need the GreaseMonkey add-on for Firefox.

  2. Download/install the script here. (Or, you can read about it here.)

  3. Once you install it, there'll be a new button in the HTML view when you post on LiveJournal called "Add Poll." Click on it.

  4. You can now add any number of questions and any number of options for each question. Plus, you can make your options appear as either check-boxes or radio buttons.

  5. When you're done, click on "Submit."

  6. A bunch of HTML will get pasted into your post. It contains the poll you just created and the results of it.


Note that the results are shown as images using the Google Chart API, so they dynamically change even through the poll is all static HTML.

See it in action!
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments