After having the grand finals spoiled for me by this post, I wrote a user script that hides the titles of threads in the sidebar (except for upcoming events), articles in the list on the front page, and articles listed at /news that have certain words in them.
https://greasyfork.org/en/scripts/19062-tf-tv-thread-title-hider
Screenshots:
Show Content
It hides the title of the thread until you click on it, which restores the original title. It also removes the hover text and changes the href attribute of the link to remove the slug (which is shown by the browser in the corner when you mouse over the link).
The script also adds a button in the nav bar that lets you set what words are considered "spoilery":
http://puu.sh/osVNz/e475af8d6c.png
Note that the script does not change the contents of /threads. /threads and /forum/... links are now also filtered, but page and latest post links will still show the thread title when moused over. Go there at your own risk.
You can install the script using Greasemonkey in Firefox or by downloading it and dropping it on chrome://extensions if you have Chrome. You should be able to install it in any compliant browser that has a user script manager, but I've only tested it in Firefox and Chrome.
After having the grand finals spoiled for me by [url=http://www.teamfortress.tv/33174/esea-season-21-champions-crowned]this post[/url], I wrote a user script that hides the titles of threads in the sidebar (except for upcoming events), articles in the list on the front page, and articles listed at /news that have certain words in them.
https://greasyfork.org/en/scripts/19062-tf-tv-thread-title-hider
Screenshots:
[spoiler]
[img]http://puu.sh/osVA4/530498e3cb.png[/img]
[img]http://puu.sh/oyNYj/39c9afa3e4.png[/img]
[img]http://puu.sh/oLG1C/b5b2e4b9c4.png[/img]
[/spoiler]
It hides the title of the thread until you click on it, which restores the original title. It also removes the hover text and changes the href attribute of the link to remove the slug (which is shown by the browser in the corner when you mouse over the link).
The script also adds a button in the nav bar that lets you set what words are considered "spoilery":
[img]http://puu.sh/osVNz/e475af8d6c.png[/img]
[s]Note that the script does [b]not[/b] change the contents of /threads.[/s] /threads and /forum/... links are now also filtered, but page and latest post links will still show the thread title when moused over. Go there at your own risk.
You can install the script using Greasemonkey in Firefox or by downloading it and dropping it on chrome://extensions if you have Chrome. You should be able to install it in any compliant browser that has a user script manager, but I've only tested it in Firefox and Chrome.
It's sad that someone had to come up with this to fix what admins could have done in 2 clicks of a mouse.
Nice work though !
It's sad that someone had to come up with this to fix what admins could have done in 2 clicks of a mouse.
Nice work though !
Awaiting self-censorship controvery posts
Awaiting self-censorship controvery posts
I updated this to hide thread titles in thread lists (/threads or /forum/...) as well. Note that it doesn't remove the slug from page and latest post links, so you can still be spoiled by mousing over those.
I updated this to hide thread titles in thread lists (/threads or /forum/...) as well. Note that it doesn't remove the slug from page and latest post links, so you can still be spoiled by mousing over those.
Nice tool. It's easy to forget after a huge match that not everyone watched it live, so this will be helpful in correcting any slip-ups by the admins. Thank you.
Nice tool. It's easy to forget after a huge match that not everyone watched it live, so this will be helpful in correcting any slip-ups by the admins. Thank you.
For whatever reason, I didn't originally think to have this filter the article list on the front page. Fixed.
I'm not sure whether I want to spend the time to filter the text for featured articles, since they have associated images that could also contain spoilers, plus I haven't seen any that had spoilers in the past.
For whatever reason, I didn't originally think to have this filter the article list on the front page. Fixed.
I'm not sure whether I want to spend the time to filter the text for featured articles, since they have associated images that could also contain spoilers, plus I haven't seen any that had spoilers in the past.
Cause ya know, a Forum about a certain video game would NEVER talk about the results of that games top two teams' matches. Now that wouldn't make any sense.
Cause ya know, a Forum about a certain video game would NEVER talk about the results of that games top two teams' matches. Now that wouldn't make any sense.
The problem is not that the results are discussed, the problem is that the results are shown on the front page so that people reading unrelated threads are spoiled. If you inspect the script carefully, you will notice that it only filters threads that you aren't currently reading.
The problem is not that the results are discussed, the problem is that the results are shown on the front page so that people reading unrelated threads are spoiled. If you inspect the script carefully, you will notice that it only filters threads that you aren't currently reading.
Awesome job on the script don't get me wrong. But it's just well known that A) topics are shown on the far left, and B) we discuss TF2 here (mostly). Oh and C) being the Internet, you shouldn't really be surprised that the results ended up in the title anyways. If someone was actually concerned with not having finals spoiled, their best best would have obviously been to stay off TFTV for A DAY. But oh well.
Again, nothing against you, just wanted to put that out there.
Awesome job on the script don't get me wrong. But it's just well known that A) topics are shown on the far left, and B) we discuss TF2 here (mostly). Oh and C) being the Internet, you shouldn't really be surprised that the results ended up in the title anyways. If someone was actually concerned with not having finals spoiled, their best best would have obviously been to stay off TFTV for A DAY. But oh well.
Again, nothing against you, just wanted to put that out there.
i mean maybe someone doesnt have time to watch the full match but they want to browse tftv you know also its kinda douchy to have spoilers in the title of articles
i mean maybe someone doesnt have time to watch the full match but they want to browse tftv you know also its kinda douchy to have spoilers in the title of articles
cati mean maybe someone doesnt have time to watch the full match but they want to browse tftv you know also its kinda douchy to have spoilers in the title of articles
It's the Internet. R U surprised?
[quote=cat]i mean maybe someone doesnt have time to watch the full match but they want to browse tftv you know also its kinda douchy to have spoilers in the title of articles[/quote]
It's the Internet. R U surprised?
i cant say mean things or my post will get nuked again
i cant say mean things or my post will get nuked again
Now filters /news as well. I also fixed a bug where regex special characters (any of ()[]$^.+?*\|) in filters were interpreted as such when they shouldn't have been and added some comments in an attempt to make the code more readable.
Now filters /news as well. I also fixed a bug where regex special characters (any of ()[]$^.+?*\|) in filters were interpreted as such when they shouldn't have been and added some comments in an attempt to make the code more readable.
That was certainly a very innovative solution, thanks for doing this script up for us!
That was certainly a very innovative solution, thanks for doing this script up for us!