Chrome Extensions
Today I decided to convert some of my Greasemonkey Scripts to Chrome Extensions. I converted my Digg AdBlocker, Hacker News OnePage, and Hacker News Comments scripts. It turned out to be quite easy, I barely had to change anything to get them running as Chrome Extensions. I packaged them using the python script Google supplied, so they are easy for anyone to install.
To use the extensions, you first need to be running the dev build of Google Chrome, you can get it here. Then ad --enable-extensions to your Chrome command line. Do this by right clicking your Chrome shortcut and choosing “properties”. Then in the “Target:” field add a space after the file path and then add the command. It should like similar to “C:\...your..path..\chrome.exe --enable-extensions“.
Click the following install links and Chrome will ask you if you wish to install the extension. There are also links to view the source and JSON manifest of the extensions.
Hacker News OnePage (install): Provides users with the ability to browse Hacker News articles and comments without leaving the page. source - manifest
Hacker News Comments Footer (install): Adds a footer to the end of the comments pages to give a visual cue of the end of page. source - manifest
Digg AdBlocker (install): Removes ads from digg. source - manifest
To view your installed extensions, or to uninstall an extension visit this address in Chrome: chrome://extensions/



