Extra caution is recommended when installing recently uploaded/updated scripts (read more)
Be sure you trust any scripts you install
Userscripts comment helper
Adds buttons to insert html tags and converts to escape characters where necessary.
This script works when adding a new comment to a script, post to the forum and the description field in script metadata.
Inserting Tags
Simply select the text to put tags around then click the appropriate tag.
Some tags have keyboard shortcuts to find them out see the tool tips
Note: It returns focus to the text box so you can just keep typing.
This is not a comprehensive list of tags as there are too many, these are just the tags I find most useful. For a full list of tags see this tread. If you want to change the tags included the list is at the top of the the script.
Converting To escape Characters
eg < to <
To convert to escape characters type as usual then either click escape: all to convert the whole text or selection to only convert the current selection.
Updates
- 23 June 2007
- Fixed for site redesign
- Added new comment Link at top (thanks vOidSenses)
- Added buttons for usefull links eg
$xand the Greasespot wiki
- 9 May 2007
- fixed bug when selecting using arrow keys
- 8 May 2007
- added schort cuts (eg
ctrl-bbold,crtl-iitalic, for rest see tool tips) - fixed
crtl-ssave so it doesn't require keyconfig
- added schort cuts (eg
- 7 may 2007
- fixed comment posting (thanks vOidSenses)
- 6 May 2007
- fixed selection issues on escaping
- neatened up comment box
- added
<div>and<span>
- 5 May 07
- added to edit post and new topics
- changed comments on scripts to be in the black floating forum style box as per znerp's request
- 25 April 07
<u>removed (thanks znerp)- better links (thanks vOidSenses)
<blockquote>added- changed
<b>to<strong>and<i>to<em> - added
<a>and<img> - fixed the scroll jumping on long entries
- added
ctrl-sfor saving metadata
|
|
lol, I just totally missed that part. I almost wrote the same part a few lines up and totally not reading the rest of the document. The only thing that I missed was the Anyways, thanks for the more simple solution. |
|
|
@jerone, dob: This can be easily fixed. Line number 123 checks for links with edits=document.evaluate('//a[contains(text(),"Edit")]',document,null,null,null)
|
|
|
Just as dob said, support for editing would be great too.
|
|
|
Awesome script, but support for editing post would be great, too. I really miss that. |
|
|
Any chance of making one similar to this for MySpace comments/bulletins? |
|
|
just notice the update, really good, i like the new buttons once again thx ;] |
|
|
i have a suggestion, what about adding at the begging of the comments the same button "Add a comment" to do exactly the same thing? it kind happens often to have to scroll a lot to the end just to click in the button and then scroll back up to answer something in the beginning of the comments cheers, btw either adding or not what i suggested i've faved your script, it's very useful to me X] |
|
|
testing... 1.. 2.. yep, it's working thank you |
|
|
Comment posting fixed thanks vOidSenses. |
|
|
hi, the script is constantly failing to Post the comment in the script pages, i click "Post comment" and nothing happens, thought i might wanna know ^^ |
|
|
installed and working like a charm, thank you, very useful :) btw, are you going to implement the remaining tags? |
|
|
Another instant hit from alien_scum! This script is simply fantastic. Great idea; elegant execution. Keep this up. |
|
|
one thing though, u used the honestly i don't remember how to take that way, but i know it's possible, or u can always use buttons instead of links |
|
|
since you can run malicious code in input areas one thing that normally every forum system has is to escape certain characters or to simply delete them, since we are sharing code snippets isn't very cool to see your code deleted, so the escape function of this script |
|
|
Awesome script, although I'm not sure if underlining works on us.o; pretty sure I've tried it in my script metadata and it didn't work. |
|
|
My bad, this script is amazing though.\\ |
|
|
Escape? Not sure what the escape part is. |
You could comment on this script if you were logged in.
