I made a basic Userscript that will automatically add ";dt" to the end of all
[1] bitcointalk URLs. It basically acts as a
"View as DefaultTrust" option and can be toggled in Tampermonkey.
Installation:1. Install the Tampermonkey extension (
firefox) (
chrome) if it is not already installed.
2.
Click here and click the "Install" button (current version: 0.2.3)
Usage:1. Install
2. Enjoy!
3.
You can disable the script by unchecking the DT Redirect box in Tampermonkey.Source Code:The source code
can be found here.Changelog:v0.1.0 - Released
v0.2.0 - Changed to inject URLs with ;dt to prevent needless redirects
v0.2.1 - Adds injection where URL contains only the path
v0.2.2 - Prevents URLs containing only paths from being injected on sites other than Bitcointalk
v0.2.3 - Injects URLs with a path of both "/index.php" and "index.php"
Disclaimer:I am not liable for any damages somehow caused by the script.
[1] Not all URLs are redirected, as some pages break when ;dt is added. Currently, links to direct messages (
example) and links that lead to the newest post (
example) are excluded as they do not directly lead to a specific message when ;dt is appended. Some other links are excluded as well, but adding ;dt would have no effect on those pages. If there are other pages that break, please let me know and I will exclude them from the script.