NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name TMC always go to Last Unread Post // @namespace http://tampermonkey.net/ // @version 0.4 // @description For any thread over 30 days old, the thread title link reverts to the first post in the thread. To go to the 'first unread' you have to click the tiny red dot which is impossible to do on mobile devices. And we never know which threads have expired and which ones don't. So this script makes every thread title to to the /unread link, regardless of thread age. // @author HankLloydRight // @include https://teslamotorsclub.com/tmc/watched/threads* // @grant none // @license MIT // ==/UserScript== var links = $(".PreviewTooltip"); var tag="<span style='color:#13ff68e8;font-size:10px;'> Old Thread Alert</span>"; $.each( links, function( key, val ) { $(this).attr('target','_blank'); if (val.href.indexOf("unread")==-1) { val.href+="unread/"; $(this).html($(this).html()+tag); } });