Hi,

I have a GM script at http://git.fedorahosted.org/git/?p=triage.git;a=blob_plain;f=greasemonkey/bugzillaBugTriage.user.js;hb=HEAD which I would like to rewrite into proper Firefox extension (mainly to get automated updates and make it more simpler for my users). I have tried GM compiler from http://arantius.com/misc/greasemonkey/script-compiler, but the extension I've got from it (http://mcepl.fedorapeople.org/tmp/bugzillamodificationsforbugtriag.xpi) doesn't work and gives me error "document.getElementById("bz_assignee_edit_container") is null" which is just not true (take a look e.g., at https://bugzilla.redhat.com/show_bug.cgi?id=487910 and find this string in the source code). Also, I get zillion of warnings in the Javascript console for supporting parts of the extension.

I have tried to study documents how to write Firefox extensions (e.g., http://roachfiend.com/archives/2004/12/08/how-to-create-firefox-extensions/ and stuff on https://developer.mozilla.org/en/), but it seems to be awfully complicated just to get to the basic DOM munging (and besides most of the tutorials are oriented on generating new dialog boxes and such GUI stuff, which I am totally not interested in).

Does anybody have some resources on conversion of GM scripts into FF extensions?

Thank you in advance for any replies,

Matěj

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to