me looking so small in this world

9 2009f March, 2009

how to compile greasemonkey script

Filed under: greasemonkey, javascript, programming — rudyegenias @ 10:20 am

I also code in Greasemonkey to save a few clicks of the mouse while working. Idea for what I have coded is: save at least few clicks of mouse, hundred clicks/day, that’s about 3000 clicks per months. That’s an anti-RSI initiative :D

While creating and giving out the script to other user is ok, it’s another issue when you need to ask them to install GM since it’s needed. Did try to create an extension, but creating takes quite a time. While learning how to, I then bumped into idea of creating an extension out of it. Turned to Google to check out ideas, as I practice DRY, turned out that there’s someone who already created a compiler. Here’s the link:

User Script Compiler

12 2008f August, 2008

xpath

Filed under: greasemonkey, javascript, programming, web apps, xpath — rudyegenias @ 12:13 pm

XPath 教程

I have been developing tools(for my current job) that will save me some few ‘clicks’ of mouse(at least on the long run). This time I bump into a tool/standard that offers a lot of possibility when coding in Javascript and learning DOM. And yes, I don’t usually code in JS. This time I need it. The link above gives enough example on how they work(by example).

[UPDATE 1]
Additional links:

XpathResult – http://www.xulplanet.com/references/objref/XPathResult.html
Mozilla XPath Documentationhttp://www-xray.ast.cam.ac.uk/~jgraham/mozilla/xpath-tutorial.html

The tool that I’ve developed by the way is based on Greasemonkey.

Have fun with it.

Blog at WordPress.com.