HackForums.net - Clickable Titles In Message Tracking

Creates links to PMs listed in the tracking page

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name           HackForums.net - Clickable Titles In Message Tracking
// @namespace      spafic/messagetrackingclick
// @description    Creates links to PMs listed in the tracking page
// @author         Spafic
// @copyright      Spafic 2012 (http://userscripts.org/users/Spafic)
// @licence        GNU General Public License
// This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. For a copy, see <http://www.gnu.org/licenses/>. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.use
//
// @match          hackforums.net/private.php?action=tracking
// @version        1.1.1
//
// @icon           http://cdn2.hackforums.net/uploads/ficons/hf-news.png
// @icon64         http://cdn2.hackforums.net/uploads/ficons/hf-news.png
// @history        1.0.0 - Script created
// @history        1.1.0 - Updated to work with unread messages.
// ==/UserScript==

(function(){var a,b,c;a=document.getElementsByTagName("table")[2];a=a.getElementsByTagName("tr");for(b=2;b<a.length-1;b++)-1==a[b].textContent.indexOf("You currently do not have any")&&(c=parseInt(a[b].getElementsByClassName("checkbox")[0].getAttribute("name").split(/\[(.*)\]/gim)[1])+1,a[b].getElementsByTagName("td")[1].innerHTML='<a href="http://www.hackforums.net/private.php?action=read&pmid='+c+'" target="_BLANK">'+a[b].getElementsByTagName("td")[1].innerHTML+"</a>");a=document.getElementsByTagName("table")[3];a=a.getElementsByTagName("tr");for(b=2;b<a.length-1;b++)-1==a[b].textContent.indexOf("You currently do not have any")&&(c=parseInt(a[b].getElementsByClassName("checkbox")[0].getAttribute("name").split(/\[(.*)\]/gim)[1])+1,a[b].getElementsByTagName("td")[1].innerHTML='<a href="http://www.hackforums.net/private.php?action=read&pmid='+c+'" target="_BLANK">'+a[b].getElementsByTagName("td")[1].innerHTML+"</a>")})();