Linux Today: Linux News On Internet Time.
Search Linux Today
Linux News Sections:  Developer -  High Performance -  Infrastructure -  IT Management -  Security -  Storage -
Linux Today Navigation
LT Home
Contribute
Contribute
Link to Us
Linux Jobs


More on LinuxToday


Greasemonkey for beginners

Jul 22, 2009, 19:33 (0 Talkback[s])

"If you'd like to try your hand at Greasemonkey hacks, read on to see how it works!

"Greasemonkey user scripts are the bits of code that actually do the work – Greasemonkey itself just loads and manages these. User scripts are written in JavaScript, but be warned: for security reasons, this isn't just a question of writing regular JavaScript and away you go. There are some gotchas to be aware of, although the scripts in this tutorial don't encounter any of them.

"A quick note if you're unfamiliar with JavaScript: this tutorial isn't going to explain JavaScript syntax in any detail, but don't let that stop you from giving it a go. It's all fairly logical and the code snippets are all explained.

"To install a script that someone else has written, you navigate to its location in Firefox and click on the link to the script. You'll get an install popup, as with a normal extension, and can either look at the source code of the script first or, if you're feeling trusting, just install it."

Complete Story

Related Stories: