Jessica's Bookmarklets

Bookmarklets are written in Javascript. If you've never heard of bookmarklets before, you should probably head over to bookmarklets.com and check out what you're missing. Basically, they are little scriptlets that you save as a bookmark, so that you can execute a little piece of script on any page of your choice to modify the page dynamically. For example, you can change colors, size of the current window, remove all the pictures, and other such things.

You can test the bookmarklet by clicking the links, or add it to your bookmarks to use on other pages if you think it's useful.

Some of these bookmarklets i've provided a favicon (works on ie 5+) you can use for the bookmarklet to make it easier to spot (particularly if it's on your links toolbar). you just need to right click on the image next to the bookmarklet, do a save as (making sure the extention is .ico), and in the properties of the shortcut you made use "change icon" to set the icon.

associated favicon for this bookmarkletfg black & bg solid white

what it does: Change foreground to black and background to white with no background image
why i wrote it: to make pages printer friendly, and to make pages legible when a bad background is chosen
tested on:
ie6, other browsers compatibility unknown
code: javascript:void(document.body.style.backgroundColor='white', document.body.style.color='black', document.body.background='')

associated favicon for this bookmarkletfg black & bg white

what it does: Change foreground to black and background to white (if not otherwise specified)
why i wrote it: combines two of the bookmarklets below into one convienient step to save mouse clicks!
tested on:
ie6, other browsers compatibility unknown
code: javascript:void( document.body.style.backgroundColor='white', document.body.style.color='black' )

associated favicon for this bookmarkletMake Bold

what it does: makes the text bold
why i wrote it: useful for making text more readable for two up printing, bolder text is readable at a smaller size.
tested on: ie6 only, other browsers compatibility unknown
code: javascript:void( document.body.style.fontWeight='bold')

Make FG Black

what it does: changes "unspecified" foreground color to black on the current webpage.
why I wrote it: one of my pet peeves is web-site authoers specifying a background color without remembering to specify a contrasting foreground color. when the text foreground is not black, such as blue or grey, it prints as light grey on many printers, which is not desirable. a quick click of this bookmarklet, and your document will print much cleaner and crisper in solid black
tested on: ie6 tested only
code: javascript:void( document.body.style.color='black' )

Make BG White

what it does: changes the background color to white.
why I wrote it: some web designers "assume" your default background color is white, and use images with white borders without remembering to specify matching background color for the page. the result can be ugly if your default background color is set to "use windows colors" or grey or something else non-white.
tested on: ie6 tested only
code: javascript:void( document.body.style.backgroundColor='white' )


Jessica's Homepage -> Computers -> Scripts -> Bookmarklets