TipMaster - No Old New
Improves the TipMaster’s forums, Tek-Tips and Eng-Tips, by removing the NEW icons from the already seen posts on the thread pages.
The script saves the posting time of the last post, then on the next visit it removes the NEW icons from all posts with posting time older or equal with the saved one. Additionally, it jumps again to the first new post in case the location contains the hash for the jump.
To avoid accumulating huge amount of saved last seen times which may put some extra load on the browser, each day it cleans up the data by deleting the last seen times older than approximately 1 year. ( This can be changed by editing the script. )
Usage
None. There is nothing interactive.
Configuration
Configuration not really supported.
But changing how long to keep the last seen times is pretty simple. Just locate the following fragment in the script and change the value ( the default is a formula for ~1 year ) :
// keep last seen times this long
var expire=365.25*24*60*60*1000
This script may clash with other Greasemonkey scripts, so you may have to adjust the execution order in your browser :
- TipMaster - Reply With Quote adjusts the height of the post footer, so jumping to the first new post may not be precise. Set this script to run after TipMaster - Reply With Quote.
- TipMaster - Time Ago adds relative alternative of the post time inside the same element, so parsing it as date will fail. Set this script to run before TipMaster - Time Ago.
Versions
- 0.0 - January 2012
- Initial release.
- 0.1 - March 2013
@grant
metadata imperative according to Greasemonkey 1.0 API.- Clean up old last seen times.
Plans
- See whether is possible to remove the old NEW icons on the thread list pages too. ( Sadly there the last activity date lacks the time part. )
Download
You can find the related files on GitHub in my Greasemonkey-script repository’s tipmaster-no-old-new directory :
- TipMaster_-_No_Old_New.user.js - script