gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

OffTopic > zzo38_extension, also New User Script command in GreaseMonke

#134938 - zzo38computer - Wed Jul 18, 2007 5:53 pm

I invented a mozilla firefox extension: http://zzo38computer.cjb.net/mozilla/ (I need better toolbar icons, though. Just rename .xpi to .zip and change the icons)
I also invented some GreaseMonkey scripts: http://zzo38computer.cjb.net/userjs/
And the other question I have is, that the "New User Script" command in GreaseMonkey doesn't seem to do anything! What I think it should do, is to open a new window with the script header already filled in, and you can type a script in and push execute or no execute, and file/new/open/save/install, and if the window is open with "execute" set it will run that script when the page is refreshed.
_________________
Important: Please send messages about FWNITRO to the public forum, not privately to me.

#134939 - dantheman - Wed Jul 18, 2007 6:08 pm

zzo38computer wrote:
I invented a mozilla firefox extension: http://zzo38computer.cjb.net/mozilla/ (I need better toolbar icons, though. Just rename .xpi to .zip and change the icons)

Okay, that's great, but what is it? All I know is that it's a Firefox extension. What does it do? What's its purpose? Why should I install it?

#134945 - MrD - Wed Jul 18, 2007 8:06 pm

Isn't it obvious?

It extends Firefox, you dummy!
_________________
Not active on this forum. For Lemmings DS help see its website.

#134949 - zzo38computer - Wed Jul 18, 2007 8:54 pm

dantheman wrote:
zzo38computer wrote:
I invented a mozilla firefox extension: http://zzo38computer.cjb.net/mozilla/ (I need better toolbar icons, though. Just rename .xpi to .zip and change the icons)

Okay, that's great, but what is it? All I know is that it's a Firefox extension. What does it do? What's its purpose? Why should I install it?

View the source-code if you don't know (rename .xpi to .zip to view the source-code). If you have any suggestions you can post these here as well. There will be NO difference once you install it, you will have to enable the options you want before they will effect. You can also uninstall it at any time.

Some of the functions are:

  • Relative Location Bar: If enabled, it treats URLs entered into the location bar as relative URLs instead of absolute.
  • Do Not Create Exposable URI: Keeps wyciwyg:// in dynamic URLs.
  • Delete: Delete any content from a web-page. When the page is refreshed the content will be redisplayed.
  • View Current: Similar to view-source, but includes dynamic content.
  • Properties: Similar to page info, with some different options, including the ability to edit forms, set cookies, scroll to anchors, and enable/disable individual style-sheets.
  • Keyboard Shortcuts: You can configure ALT+F1, ALT+F2, ALT+F3 to execute any javascript code executed in chrome context.
  • Toolbar: You can add these toolbar buttons to any toolbar or menubar: Previous, Next, Up, Root, Disable Javascript, Enable Javascript, View Source, ALT+F1, ALT+F2, ALT+F3. Previous and Next use the data stored in the <link> tags to navigate. Eventually I might add the function to define your own page sequences.


I also plan on adding these functions, but I might need help, so I would like you to tell me if you know how to add these functions:

  • Override XSL stylesheets for specific XML documents, specified by root element, name-space, or document URL
  • URL blocking/rewriting
  • Ability to load/save form data to files
  • Ability to rewrite DOM so it is different when accessed by web-pages, but still uses default DOM when accessed by chrome
  • Rewrite web-pages and other files before loaded, like making a proxy server built-in to Mozilla Firefox
  • A clone of GreaseMonkey, with many of the same functions but some things different, such as the ability to open a new window where you can type in and execute a user script immediately, and then save it if it is good

_________________
Important: Please send messages about FWNITRO to the public forum, not privately to me.