DeviantART - Random Love January 16, 2006
Posted by Lucanos in : programming, javascript, greasemonkey , add a comment“Have you spread some Random Love today?“™
Share The Love!
This script adds buttons directing the user to A Random Deviant and/or a A Random Deviation to the main toolbar at the top of the screen (just beside the Shop button).
Version History:
- v0.1 - 16 January 2006
Initial release.
How It Does What It Does:
- Finds the Toolbar (using an XPath).
- Creates the Random Buttons (including Base64 encoded icons - they’re embedded in the script)
- Inserts them after the Shop Icon
- Changes their titles (A workaround, still figuring the cause there…)
Enjoy!