Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Greasmonkey (Javascript)

Name: Anonymous 2009-03-31 14:32

Hey,
Sorry to annoy you /prog/, but I'm currently trying to get the hang of Greasemonkey (Firefox Add-on). Yes, I already tried googling and even found a tutorial, but it (honestly) sucks. (http://diveintogreasemonkey.org/)

May have a suggestion/link for a nice tutorial with preferably real-world examples, /prog/? The problem is that every single tutorial I find on the net is about installing the fucking Add-on and not about learning how to write scripts with it.

Help would be greatly appreciated.

Name: Anonymous 2009-03-31 15:12

>>1
Okay, here is your tutorial:
1. Create .user.js file
2. Add headers (like your name and copyright information [this is important!], just copypasta from another Greasemonkey script)
3. Each script basically runs when the page executes onload, so you don't have to explicitly hook any events.
4. Start JS'ing, e.g. window.close().
5. ???
6. Read JS reference, GM function reference, etc.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List