TipMaster - Reply with Quote
Improves the TipMaster’s forums, Tek-Tips and Eng-Tips, by adding a link below each post on the thread pages to copy the given post’s content into the reply form’s message field. The quote’s parameter is the post’s author’s handle. The signature is not included.
The quoted message is converted back from HTML to TGML.
Protecting verbatim TGML as [ignore][valid TGML tag][/ignore] is not implemented yet. ( Actually there is an implementation, but is not
public as it is less optimal than could be, so I am looking for a better idea. ) ( I think it only works from a certain post date forward. If so, will not
fix it, but a better review is still pending. )
Screenshot
Usage
Click the “Reply with quote to this post” link below the message you want to reply to.
Configuration
Configuration not really supported.
But you could add ( or remove ) some of the tag conversion rules declared in the markup
array.
This script may clash with other Greasemonkey scripts, so you may have to adjust the execution order in your browser :
- TipMaster - No Old New jumps to the first unread post, so the post footer height adjustment made by this script makes the jump unprecise. Set this script to run before TipMaster - No Old New.
Versions
- 0.0 - February 2012
- Initial release.
- 0.1 - February 2012
- Skip signature.
- 0.2 - March 2012
- Extracting the code tags’ title now works.
- 0.3 - March 2012
- Consume pointless wbr tags.
- 0.4 - June 2012
- Updated according to TipMaster sites’ HTML changes.
- Recognizes the new [box], [bbox], [floatl], [floatr] and [indent] TGML tags.
- Handles [ignore] tag.
- Excludes signature.
- 0.5 - October 2012
- Recognizes the new [pre] TGML tag.
Plans
- Make difference between [spoiler] and [hide] tags.
- Provide a way to convert to lighter markup, like *bold* instead of [b]bold[/b].
Download
You can find the related files on GitHub in my Greasemonkey-script repository’s tipmaster-reply-with-quote directory :
- TipMaster_-_Reply_with_Quote.user.js - script