Friday, January 18, 2013

Getting started with Greasemonkey userscripts


Are there elements of the Web pages you frequent that annoy you? If so, the odds are good that they have also annoyed someone with a working knowledge of JavaScript who has taken it upon his or herself to create a userscript to address the issue. Greasemonkey is a Firefox add-on that lets you install and run these userscripts to improve your browsing experience. There is a seemingly endless supply of these userscripts that add or remove elements on a page or change its appearance or behavior. In this tutorial, I will show you how to get up and running with Greasemonkey.


First, a quick note on browser compatibility. Though Greasemonkey is a Firefox add-on, the userscripts written for it may work in other browsers but support will vary. For the purposes of this post, I will keep the focus on installing userscripts via Greasemonkey with Firefox.


(Credit: Screenshot by Matt Elliott/CNET)

To get started, head to the Greasemonkey add-on page to install it. After installing it and restarting Firefox, you are ready to enter the wide world of userscripts. If you are on a Windows machine, you'll see that after starting Firefox a Greasemonkey buttons gets added to the right of your URL bar. This process isn't automated if you are on a Mac. You'll need to right-click on the area to the right of the URL bar, choose Customize from the right-click menu, a... [Read more]


No comments:

Post a Comment