DevNetworks useful Greasemonkey Scripts
Moderator: General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
DevNetworks useful Greasemonkey Scripts
Latest GM version (at last edit): 0.6.6
--------------------------------------------------------------
Any Greasemonkey scripts posted in this thread should be intended for use on this forum only. Please post in Code Snippets for anything else
For those who don't know, Greasemonkey is an extension for Firefox which allows you to manipulate web pages whilst viewing in your browser, using your own JavaScript.
To use any scripts posted here we strongly reccommend you use the lastest version of Greasemonkey with its recommended version of Firefox.
--------------------------------------------------------------
Any Greasemonkey scripts posted in this thread should be intended for use on this forum only. Please post in Code Snippets for anything else
For those who don't know, Greasemonkey is an extension for Firefox which allows you to manipulate web pages whilst viewing in your browser, using your own JavaScript.
To use any scripts posted here we strongly reccommend you use the lastest version of Greasemonkey with its recommended version of Firefox.
Last edited by Chris Corbyn on Sun Jan 01, 2006 8:26 pm, edited 2 times in total.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
RTM Conversion
http://w3style.co.uk/devnet/function_highlight.user.js
Tested with GM 0.6.4 and FF 1.5
Adds a button labeled "RTM-ize" to the Reply, New Post, Quote and Edit forms. Upon clicking the button the message box is scanned for PHP functions and links are generated to point to the manual pages at PHP.net
Functions are expected to have the trailing parens on them and are permitted to contain the argument list.
Example:
mysql_connect($server, $user, $pass)
Tested with GM 0.6.4 and FF 1.5
Adds a button labeled "RTM-ize" to the Reply, New Post, Quote and Edit forms. Upon clicking the button the message box is scanned for PHP functions and links are generated to point to the manual pages at PHP.net
Functions are expected to have the trailing parens on them and are permitted to contain the argument list.
Example:
Code: Select all
mysql_connect($server, $user, $pass)
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
It doesn't seem to work on the examples below... (using 0.6.4)
print substr(htmlentities("foo"), 5);
Code: Select all
print substr(htmlentities("foo"), 5);
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
Testing....
====================
It doesn't seem to work on the examples below... (using 0.6.4)
print substr(htmlentities("foo"), 5);
=====================
-- Note that it does deliberately evade the
====================
It doesn't seem to work on the examples below... (using 0.6.4)
Code: Select all
print substr(htmlentities("foo"), 5);
=====================
-- Note that it does deliberately evade the
Code: Select all
tags... (and some other BBCode tags). What version of FF are you using so I can try it with other versions? Clicking EDIT on your post then clicking RTM-ize worked for me with 1.5.
EDIT | Minor bug just spotted.... it stops at the first paren when nesting functions... will be fixed.
- Maugrim_The_Reaper
- DevNet Master
- Posts: 2704
- Joined: Tue Nov 02, 2004 5:43 am
- Location: Ireland
Here is a GM script I found thanks to Weirdan: http://userscripts.org/scripts/show/1667
It automatically places a quickreply button so you don't need to load a page just to reply.
It's great if it's just a quick message and you aren't going to utilize any of the extras such as emoticon inserter, bbcode tag inserters and etc.
Another is: http://userscripts.org/scripts/show/2277
Removes the redirect page and automatically forwards you to your reply on the thread.
It works in conjunction with the quickreply GM script so those two are a great time saver together.
It automatically places a quickreply button so you don't need to load a page just to reply.
It's great if it's just a quick message and you aren't going to utilize any of the extras such as emoticon inserter, bbcode tag inserters and etc.
Another is: http://userscripts.org/scripts/show/2277
Removes the redirect page and automatically forwards you to your reply on the thread.
It works in conjunction with the quickreply GM script so those two are a great time saver together.
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
It's a sacrifice I'm willing to make.. heheWeirdan wrote:Unfortunately, it breaks the "back" buttonSami wrote: Removes the redirect page and automatically forwards you to your reply on the thread.

All I need now is some sort of script to copy something like....
...into the clipboard automatically so you can paste it into the quickreply.Weirdan wrote: Unfortunately, it breaks the "back" button![]()
