I've been working on a Firefox extension extension, but it's been slow going (in part because I have no time to work on it). I've got a basic skeleton, verified that I can talk to an external JSON API, modify any webpage when loaded, and show a preferences box. These are all necessary HelloWorlds for the extension I am writing (maybe I don't need the preferences box).
Suddenly it occurred to me that I may be ignoring a much easier way to do it. Since Greasmonkey scripts may be compiled into Firefox Extensions, Greasemonkey might be a better way to go:
- It could be easier (not sure)?
- It could be cross-browser (at least Safari and Firefox)?
- Are there limits to Greasemonkey scripts vs. 'native' FF extensions? Can chrome UIs be written? Normal DIVs be popped up? Preferences be stored (I think they can be)?
I'm looking for a comparison of Greasemonkey vs. "native" FF extensions. Also, has anyone worked with "compiling" a Greasemonkey script into an FF extension (experiences, problems)?