Go Back   TF2Maps.net > News and Announcements > Front Desk

Notices

Reply
 
Thread Tools

Greasemonkey script: Gameday Thread Timezone Conversion
Old 10-23-2009, 08:27 PM   #1
Pseudo
L4: Senior Member
 
Pseudo's Avatar
 
Pseudo is offline
Posts: 309
Thanks: 33
Thanked: 144
Lightbulb Greasemonkey script: Gameday Thread Timezone Conversion

I wrote this Greasemonkey script:
http://userscripts.org/scripts/show/60437

It will convert the start times for each map in a gameday thread into your local timezone.



The orange text is the text generated by the script.

It also adds a "download timer" to the map download links in the thread. A user must wait thirty seconds between file downloads, so the script adds a countdown timer for this. File links are grayed out until they are able to be downloaded.

For those that don't know, Greasemonkey is a Firefox add-on that uses JavaScript to customize websites. It can be downloaded here. Chrome, Safari, and Opera have scripting capabilities as well but I have not tested the script in those browsers.
__________________
[alpha cp_mobile | beta koth_corporate] [Gameday Timezone Convert]
  Reply With Quote
The Following 10 Users Say Thank You to Pseudo For This Useful Post:

Old 10-23-2009, 08:29 PM   #2
Gerbil
L5: Alleged Expert
 
Gerbil's Avatar
 
Gerbil is offline
Posts: 363
Thanks: 390
Thanked: 143
Blog Entries: 8

Sounds very useful. Thanks!
  Reply With Quote

Old 10-23-2009, 08:34 PM   #3
The Political Gamer
Hey look its the guy who posts too much!
 
The Political Gamer's Avatar
 
The Political Gamer is offline
Posts: 3,899
Thanks: 2,810
Thanked: 1,275
Blog Entries: 16

Oh wow thats really cool! Good job!
__________________


My other maps: ctf_assembly | cp_trestle | pl_uphill | cp_grinder |
Quote:
Originally Posted by midget31394 View Post
I'm going to kill you slowly.
  Reply With Quote

Old 10-24-2009, 02:47 AM   #4
Engineer
The Welcomer...
 
Engineer's Avatar
 
Engineer is offline
Posts: 978
Thanks: 460
Thanked: 322

Thank you!
__________________

  Reply With Quote

Old 10-24-2009, 03:13 AM   #5
grazr
Needs Therapy
 
grazr's Avatar
 
grazr is offline
Posts: 2,891
Thanks: 482
Thanked: 1,499
Blog Entries: 15

Very very useful. Especially since this forum seems to get my local time wrong all the time (well, daylight savings, atleast).

Oh and welcome back to the community Pseudo.
  Reply With Quote

Old 10-24-2009, 04:23 AM   #6
Trotim
Banned
 
Trotim is offline
Posts: 342
Thanks: 157
Thanked: 177
Default

Well, I'm sure it could be handy if I had Firefox. I've never had any problems with the times on the forums though?
  Reply With Quote

Old 10-24-2009, 05:52 AM   #7
gamemaster1996
Lv? : Spy
 
gamemaster1996's Avatar
 
gamemaster1996 is offline
Posts: 629
Thanks: 874
Thanked: 64
Blog Entries: 1

Hmm i do but not on anything other than firefox hmm interesting

Whatta ya know im turning into the racoon on timothy goes to school hmm interesing
__________________
An eye for an eye makes the whole world blind, i would've thought a knife in the eye would make anyone blind better.
  Reply With Quote

Old 10-24-2009, 07:17 AM   #8
Swordz
L3: Junior Member
 
Swordz's Avatar
 
Swordz is offline
Posts: 164
Thanks: 15
Thanked: 7

It's not working here :/ I have greasemonkey but the plugin doesn't want to install


EDIT: Installed now


EDIT2: Wtf, i'm at GMT-3 but the timer shows GMT-6...
__________________

CTF_Galara

How do i put an image here?

Last edited by Swordz; 10-24-2009 at 07:20 AM..
  Reply With Quote

Old 10-24-2009, 08:56 AM   #9
Sgt.Sausage
L5: Alleged Expert
 
Sgt.Sausage's Avatar
 
Sgt.Sausage is offline
Posts: 405
Thanks: 769
Thanked: 103

Wow thats awesome, definitely gonna try it out i haven't bothered with greasemonkey in a long time.
__________________
Nathan
  Reply With Quote

Old 10-24-2009, 11:34 AM   #10
Pseudo
L4: Senior Member
 
Pseudo's Avatar
 
Pseudo is offline
Posts: 309
Thanks: 33
Thanked: 144

Quote:
Originally Posted by Swordz View Post
Wtf, i'm at GMT-3 but the timer shows GMT-6...
Is the rest of the forum set to that time? If you scroll to the bottom of the page it should say "All times are GMT __.", that's what the script uses to determine your timezone. You can change settings in your options.

Quote:
Originally Posted by gamemaster1996 View Post
Hmm i do but not on anything other than firefox hmm interesting

Whatta ya know im turning into the racoon on timothy goes to school hmm interesing
This made me laugh very hard. What the fuck is this guy talking about?
__________________
[alpha cp_mobile | beta koth_corporate] [Gameday Timezone Convert]
  Reply With Quote
Reply

Tags
gameday, greasemonkey

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off




All times are GMT -5. The time now is 05:03 PM.

© 2008 Valve, the Valve logo, Team Fortress 2, the Team Fortress 2 Logo, Steam, the Steam logo, Source,
the Source logo, and Valve Source are trademarks and /or registered trademarks of Valve Corporation
in the United States and other countries.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Ad Management by RedTyger