Script Summary: With this script, you can execute a sequence of greasemonkey scripts across pageloads. Ie log into your webbank, pay your rent, and then log off. All in one macro, that goes into the url - which means that you can bookmark your "Pay rent" macro...
Version: 0.3.1
Example:
After installing this script, clicking the link below will take you on a little tour. First we visit my homepage, then google, and then we change the google page a bit. And finally we return to here... :)
http://www.rosell.dk?monkeythis=eval=alert('this is my homepage')&go=http://www.google.com&eval=alert('and this is google')&css=body{background-color:black!important}&eval=alert
This script is based on the cleanitup script. All commands from "cleanitup" are available. In addition there are these two:
go: Sends browser to an url
haltif: Stops the macro, on current page (continues from the "haltif" command on next pageload). You probably won't need this command. I needed because a certain dictionary made some redirects before getting to the proper result page, so the next macro step was fired before it was supposed to fire.
By the way: The script plays well together with LookItUp2. I'm concidering including this functionality to LookItUp2.
Here is a real-life example of using Macro Monkey for an advanced searchplugin that uses wikipedia to get the danish name for an english term/phenomenon (that is, translate a term from english to danish).
1: Make a google "i feel lucky"-search on site:en.wikipedia.com (because google search rules, and wikipedia search sucks)
2: Now we arrived at an english article... See if there is a danish version of the article, and follow the link, if there is.
(In order for this to work in a firefox searchplugin, "banana" should be replaced with: "{searchTerms}", and &´s should be "amp;"´ed)
By the way: I have made a tiny tool that helps creating the urls. Very raw, but better than no tool.
Version history
02 MAY 2008 - v0.3.1
- Fixed autoupdate, so it don't say that there is a newer version available, when in fact the version number indicates that there is an older version available. Now, how could this be a problem? - In one word: caching
02 MAY 2008 - v0.3.0
- Fixed bug, which caused the script to end prematurely in some situations
30 APR 2008 - v0.2.0
- Added concurrency. Up to 10 scripts can now execute at a time, without interfering with each other. This could for example occour when several tabs are opened at once



