[greasemonkey] [Greasemonkey] New button added to GreaseMonkey
manage window
Matt Labrum
darktempler at gmail.com
Sat Jun 11 22:03:45 EDT 2005
+1
I quite like this idea scince creating a file renmaing it then adding the
meta data and then writing your code is quite hard
eg if you just want to stop sites redirecting with something like
window.setTimeout = function(){return;} its over kill to do the above for
one line of javascript.
and it might also increase the amount of scripts being made because more
people will be able to create scripts easliy.
but i also propose a "export" button which when clicked brings up a download
dialog so you can save that script to your harddrive (insted of opening it
up using edit and then saving it else were)
>
>
> ---------- Forwarded message ----------
> From: "Michael Bierman" <greasemonkey at thebiermans.net>
> To: <greasemonkey at mozdev.org>
> Date: Fri, 10 Jun 2005 16:04:41 -0700
> Subject: RE: [greasemonkey] [Greasemonkey] New button added to
GreaseMonkey manage window
> I like the idea of a button to create scripts from scratch. I think that's
> very handy!
>
> Michael
>
> -----Original Message-----
> From: greasemonkey-bounces at mozdev.org
> [mailto:greasemonkey-bounces at mozdev.org] On Behalf Of Juan Santandreu
> Sent: Friday, June 10, 2005 1:22 PM
> To: greasemonkey at mozdev.org
> Subject: [greasemonkey] [Greasemonkey] New button added to GreaseMonkey
> manage window
>
> Hello, it's the first time I write to the GM mailing list. As you'll
> guess my English is quite bad (I'm from Spain) so be patient and read
> carefully :).
>
> As the subject says I've added a button to the GM interface. The button
> is placed beside the edit button in the manage window ans it's useful for
> creating a new script directly from the GM user interface.
>
> What it does is to ask the user for some metadata about the script:
> name, description, namespace, includes/excludes, and the file name, then
> creates the script file (with the metadata) prepared for being edited, and
> inmediatly calls the editButtonHandler function, wich opens the default
> system editor.
>
> It still needs a good user interface, the current one is just a secuence
> of prompts, and surely some bug fixing and exception catching, but it's
> already fully functional (well, at least on my pc ;)). I'm trying to
improve
> the script in the next days, but I'm very unexperienced in XUL and FireFox
> programming, so I'd like to have some help.
>
> The two files attached are a copy of the last revision of manage.xul
> published (manage.xul), and a copy of the file included in greasemankey
> 0.3.3 (manage_old.xul), both with the code of the new button.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/greasemonkey/attachments/20050611/350e796b/attachment.htm
More information about the Greasemonkey
mailing list