Upvote Upvoted 6 Downvote Downvoted
Layout features userscript
1
#1
5 Frags +

Sorry for posting this here, but I can't figure out a better section.

I made a userscript that does two things: One, it adds a toggle for the left sidebar, and two it adds a link to the "All Threads" page to the Live Streams header (because I really can't find a better place for it).

This is what the page I'm on looks like for me right now:

https://dl.dropboxusercontent.com/u/1811521/dsfgweqfafgs.png

Install: https://dl.dropbox.com/u/1811521/tf.tv_left_bar_toggle.user.js
You need Greasemonkey (or Chrome, apparently).

You can disable some stuff by modifying variables at the top of the script. It's like, super easy.

Things I want to do later:
- Move the left bar stuff to the right bar instead of hiding it
- Collapse individual sidebar elements

Sorry for posting this here, but I can't figure out a better section.

I made a userscript that does two things: One, it adds a toggle for the left sidebar, and two it adds a link to the "All Threads" page to the Live Streams header (because I really can't find a better place for it).

This is what the page I'm on looks like for me right now:
[img]https://dl.dropboxusercontent.com/u/1811521/dsfgweqfafgs.png[/img]

Install: https://dl.dropbox.com/u/1811521/tf.tv_left_bar_toggle.user.js
You need Greasemonkey (or Chrome, apparently).

You can disable some stuff by modifying variables at the top of the script. It's like, super easy.

Things I want to do later:
- Move the left bar stuff to the right bar instead of hiding it
- Collapse individual sidebar elements
2
#2
-5 Frags +

Turn off adblock :(

Turn off adblock :(
3
#3
5 Frags +

??? http://i.imgur.com/qIq0fbR.png
<snip>

??? http://i.imgur.com/qIq0fbR.png
<snip>
4
#4
3 Frags +

- cleaned up the script's code in general
- added swap/toggle for the navbar tabs
- (very) permissive free software license

same url: https://dl.dropbox.com/u/1811521/tf.tv_left_bar_toggle.user.js

- cleaned up the script's code in general
- added swap/toggle for the navbar tabs
- (very) permissive free software license

same url: https://dl.dropbox.com/u/1811521/tf.tv_left_bar_toggle.user.js
5
#5
1 Frags +

That's awesome, thanks a lot, wareya. This combined with the gray plugin looks great.

That's awesome, thanks a lot, wareya. This combined with the gray plugin looks great.
6
#6
0 Frags +

- forum and article navigation now stretches with the navbar hide
- keep script from breaking on the servers page
same url

- forum and article navigation now stretches with the navbar hide
- keep script from breaking on the servers page
same url
7
#7
0 Frags +

- rename "show threads" button to "all threads"
- change "all threads" button to "forum index" when on the all threads page, per http://teamfortress.tv/forum/thread/5260-show-all-threads-button
- fix a script crash when not logged in

http://www.mediafire.com/?ca5et2xnen29wuz

- rename "show threads" button to "all threads"
- change "all threads" button to "forum index" when on the all threads page, per http://teamfortress.tv/forum/thread/5260-show-all-threads-button
- fix a script crash when not logged in

http://www.mediafire.com/?ca5et2xnen29wuz
8
#8
0 Frags +

Content expansion just broke so I'm working on a fix right now.

EDIT: Install this if you're having trouble with content expansion: https://dl.dropbox.com/u/1811521/tf.tv_left_bar_toggle_hotfix.user.js
I couldn't figure out the source of my problem so I just brute forced the solution. Sorry!

Content expansion just broke so I'm working on a fix right now.

EDIT: Install this if you're having trouble with content expansion: https://dl.dropbox.com/u/1811521/tf.tv_left_bar_toggle_hotfix.user.js
I couldn't figure out the source of my problem so I just brute forced the solution. Sorry!
9
#9
0 Frags +

Preliminarily updated to the new layout.
https://dl.dropbox.com/u/1811521/tf.tv_layout_options.user.js
I just did the basics to make the expansion work properly under the new layout. Sorry! If it's still broken for you I won't be able to fix it until I'm back on windows, but please let me know if it is broken. Make sure to disable the old scripts if whatever you use lets you put it in next to the old one.

Preliminarily updated to the new layout.
https://dl.dropbox.com/u/1811521/tf.tv_layout_options.user.js
I just did the basics to make the expansion work properly under the new layout. Sorry! If it's still broken for you I won't be able to fix it until I'm back on windows, but please let me know if it is broken. Make sure to disable the old scripts if whatever you use lets you put it in next to the old one.
10
#10
0 Frags +

Sorry for the necro. Late update again. Compatible with the new layout and removed pointless options.

https://dl.dropboxusercontent.com/u/1811521/dsfgweqfafgs.png

https://dl.dropboxusercontent.com/u/1811521/tf.tv_left_bar_toggle.user.js
Some day I should make it so you can drag sidebar objects around or close them... I'm no wizard, though.

EDIT: Updated it with some better button placement and the ability to move left bar sections to the right bar by editing config variables.

Sorry for the necro. Late update again. Compatible with the new layout and removed pointless options.
[img]https://dl.dropboxusercontent.com/u/1811521/dsfgweqfafgs.png[/img]
https://dl.dropboxusercontent.com/u/1811521/tf.tv_left_bar_toggle.user.js
Some day I should make it so you can drag sidebar objects around or close them... I'm no wizard, though.

EDIT: Updated it with some better button placement and the ability to move left bar sections to the right bar by editing config variables.
11
#11
0 Frags +

This is really nice, thanks!

This is really nice, thanks!
Please sign in through STEAM to post a comment.