jump to navigation

DeviantART - Random Love January 16, 2006

Posted by Lucanos in : programming, javascript, greasemonkey , trackback

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:

How It Does What It Does:

  1. Finds the Toolbar (using an XPath).
  2. Creates the Random Buttons (including Base64 encoded icons - they’re embedded in the script)
  3. Inserts them after the Shop Icon
  4. Changes their titles (A workaround, still figuring the cause there…)

Enjoy!

Comments»

no comments yet - be the first?