Userscripts.org Quick Links

By JoeSimmons Last update May 7, 2009 — Installed 483 times.

SUGGESTIONS

in
Subscribe to SUGGESTIONS 2 posts, 2 voices



Marti Scriptwright
JoeSimmons wrote:
Check this out: http://userscripts.org/scripts/show/47204
You can type Firebug and it will make it into a link automatically. I think I'm going to make it confirm the replacement since sometimes you don't want it to replace, good idea?
VERY GOOD IDEAR! Like that better than the Alien_Scum script for their macros... makes it much easier to customize my own too... as for confirmation, would annoy me after a while. Suggestions:
  • maybe a checkbox somewhere that turns it on/off? Author currently selected GM_registerCommand entry
  • HOT KEY for GM_registerMenuCommand if possible... if not I still suggest a checkbox
  • Change words_n_links to be able to add a third field in case a user would like to put their own text in even though they typed the alias a certain way. (e.g. alias 'GMWiki' == text 'GM wiki' == uri 'http://sf.net/apps/mediawiki/greasemonkey/')
  • external XML file in your script directory to hold the aliased entries... so if script is updated, won't blow away user values. Defer to current program defaults if no XML is found.(it is currently possible via GM_xmlHttpRequest just make sure you make it cross-platform and be REALLLLL careful.)
 
JoeSimmons Script's Author

I was going to put a confirmation box but a checkbox actually seems easier when I think about the coding.
EDIT: Ok I did it, although I used a GM command, and it doesn't need a reload to turn on and off.

Cross
Presentational HTML allowed.
Use <code> for inline code and <pre> for code blocks. Use &lt; and &gt; for literal < and >.
We help break paragraphs and link your links.
or cancel