John's Bookmarklets
The following is a short list of bookmarklets that I've written.
------------------------------------------  
Click each link to test the script.
Depending on your browser, either drag a link to your bookmarks toolbar, or Right click the link, and select " add to favorites " to save.

=============================================
Script index:
  • John's New and Improved Bookmarklets Editor
  • This is an embelishment of the simple Bookmarklet Editor. I got frustrated trying to code on a single line, so I added 'parse' and 'compress' buttons.
    Now you can write your code in a normal text editor, then test and compress your code in the same window. Conversely, you can open up
    someone else's bookmarklet, and more conveniently understand how it was put together.
    Now it (non recursively) attempts to indent functions and control structures by one level.

    This is some crazy code. It uses JavaScript to write a window full of JavaScript functions, to help you edit you JavaScript Bookmarklets.
    It even works with it's OWN code!!! Now that's cool. :)
    Note: While this code runs flawlessly in Opera and Firefox as both a link and a bookmarklet,
    in IE6, it refuses to run as a bookmarklet... Anyone??? Anyone???
  • List Flash Movie Names
  • This Bookmarklet displays a list of the names and locations of all imbedded Macromedia Flash files on the page.
  • Copy Form Variables
    This Bookmarklet grabs all the form elements from a page, and places them in a "prompt" field for copying. It works in both Firefox and IE.
  • Paste Form Variables
    This Bookmarklet takes data copied from the "copy variables" bookmarklet, and populates all form with the same data.
    This can be used to copy data across pages, or to archive form data for re-input later.

    Now the bad news... It only works in Firefox.
    If you can get it to work in IE, I'll be your best friend...
  • Copy from field (a) to fields (b) and (c)
    Disclaimer: This is a script that will be useless for anyone but me, but it's here for educational purposes,
    in case you want a simple example of how to copy and assign form variables.
    On a page with TWO forms, it sets the values of the second and third elements of the second form to the value of the first element of the first form. Confused yet?
  • Change Font on current page
    This sets the current page default font to verdana. I use this with %s and Firefoxes hot keys to dynamically change the current font to whatever font I want to test.
    I use 'font' as my keyword, so I can enter in the URL line,'font neona' and boom, the whole page is in that font. (provided it is installed on my system.)
  • Get free music from Google
    Technically, this one isn't a bookmarklet. It uses a complex search sent to google to find mp3 directories. This isn't mine, but I edited it to work as a shortcut in Firefox with the %s variable. So if this is saved as a bookmark with a shortcut key of 'mu' then you could type 'mu nirvana' in the URL box, and it would sniff out songs by that band.
  • Hide Craigslist Posts
    Click this on a Craigslist search page. The script adds a red X icon on the left of all posts, which allows you to hide spam posts, or items that you aren't interested in. The script also changes all item links to open in a new tab, so you don't lose your formatting. To re-show hidden posts, just refresh the page.
  • Colorize Page Elements
    This will colorize all the elements of the page in random RGB colors. Useful for troubleshooting CSS issues. (Note:requires jQuery on the page, but you can get a bookmarklet that adds jquery to any page from here.)
  • Uncolorize Page Elements
    This reverts the colorize script above. (Note:requires jQuery on the page, but you can get a bookmarklet that adds jquery to any page from here.)
  • QuickColumns
    Quick toggles 12 columns of random (light) colors for every element on the page with class "row". (Note:requires jQuery on the page, but, as mentioned above, you can get a bookmarklet that adds jquery to any page from here.)
  • =============================================