To run Aardvark as a bookmarklet in Firefox, IE, or Safari, just bookmark the following link:
To do this in Firefox, right click and select "Bookmark this link." In IE, right click and select "Add to Favorites". In Safari, drag the link to the bookmarks bar.
Minor caveats: running as a bookmarklet, Aardvark won't work in framed sites (but does anyone really use frames anymore?), and it doesn't seem to work in Gmail and a few other sites that work fine when running as a Firefox extension. In IE, "view source" is not nearly as pretty as it is on Firefox and Safari.
First, save the file bookmarklet.js to your own machine (if you are running a web server) or your web host, and make sure it is in a directory where it can be seen as a web ("http://") file. You may name it anything you please. Then create a bookmark and cut and paste the following as the "address": (use the url of your file, of course).
Then, it's just a matter of editing the file to have it do your bidding. In the file are two examples of overriding commands, with extensive commenting. In addition, you will probably want to refer to the files aardvarkMain.js, aardvarkCommands.js, aardvarkUtils.js, aardvarkDBox.js which contain the Aardvark code (these are the identical files used for the Firefox extension).
All Aardvark functions and variables are members of a global object called aardvark. Note that this object is actually created in the bookmarklet.js file, but many members (such as all the Aardvark functions) are added to the aardvark object in the other Aardvark source files.
You may simply override any of these functions by assigning new functions to the member variables. You may also add commands if you wish.
Site designed by Pixel Plain Web Design