Based on a question in the StackOverflow beta site, I did some quick research into what are the best ways to perform syntax highlighting on code that is posted on blogs. Among the methods that were suggested (by myself or others):
- Hack together your own display logic to format it as you see fit
- Use Windows Live Writer with the Insert Code plugin (I discuss that here)
- For WordPress, use the WP-Syntax plugin
Want to have a quicksearch link to Google Finance (just entered Beta) in your Firefox Quicksearch?
Download this file (googlefinance.zip), unzip the files (not the readme.txt) into your C:\Program Files\Mozilla Firefox\searchplugins directory, restart Firefox and go.
Take greasemonkey to the next level with platypus. From the site:
Platypus is a Firefox extension which lets you modify a Web page from your browser — “What You See Is What You Get” — and then save those changes as a Greasemonkey script so that they’ll be repeated the next time you visit the page. Editing pages to suit your needs is dandy — but making those changes “permanent” is the real payoff.
Some of the things you can do with Platypus include:
- Remove parts of the page you don’t wish to see.
- Move a part of the page to a different location.
- Change the style and format of page elements.
- Modify all the links on the page using a regular expression.
- Insert your own HTML code.
For those of us (myself included) who have not taken the time to learn how to compose a greasemonkey script, here is an easy to use took that will do it for you.
As I find start to use new ones, I’ll post them here
Also, if you want to know more about developing on greasemonkey, then dive into greasemonkey (.org).
See this blog post from persistent.info. It is a greasemonkey script that adds the ability to define and save persisten searches. Saved searches show up in a little orange box along the left side of the screen.