[Greasemonkey] Aardvark firefox extension -> GM user script

Pramod Biligiri pramodbiligiri at gmail.com
Thu Apr 28 13:31:00 EDT 2005


On 4/27/05, Scott R. Turner <srt at aero.org> wrote:
> 
> 
> After the user starts a new script, start saving the Aardvark commands
> he uses in an ordered list. To do this, you need to save the
> operation and the page element it is being applied to. Saving the
> operation is trivial. Saving the page element is a little more
> troublesome. The best way to identify it is by it's id. If it
> doesn't have an id, I'm not sure how best to identify it -- an Xpath?
> 
> When the user does Save Script, walk through the saved list of
> commands and generate a GM script that replicates the command
> sequence. Tack on header information and let the user modify the
> "included pages" to wildcard as he thinks is appropriate. Give the
> script a name based on the URL, so that if he saves a new script from
> the same page you can replace the existing GM script.


I've been thinking of automated GM scripts with declarative syntax for a 
while..tried a small script to let users assign arbitrary action to any node 
which satisfies some filter rules..
I've put it up here: 
http://blogs.applibase.net/pramod/code/pageFilter.user.js ..still very 
barebones.
Would like any feedback though.

Pramod Biligiri
-- 
http://blogs.applibase.net/pramod
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/greasemonkey/attachments/20050428/2881a583/attachment.htm


More information about the Greasemonkey mailing list