Welcome to Tactical Gamer

+ Reply to Thread
Results 1 to 9 of 9
Discussion: Call of Duty Archives / Call of Duty 4 - General Discussion - Server banners (greasemonkey script) - I don't know how you guys view the status of the servers, but I always
  1. #1

    jmaker's Avatar

    Join Date
    Jan 2006
    Location
    Warren, OH
    Age
    32
    Posts
    3,069

    Server banners (greasemonkey script)

    I don't know how you guys view the status of the servers, but I always have to find the banner in someone's signatures and click on them. I figured it might be easier, for me at least, to have the banners displayed inside of the forums so I can view it at all times. I created a greasemonkey script to do just this. Here's a screenshot to see what I'm talking about.



    If you don't know what Greasemonkey is, it is a Firefox extension that allows the customization of a webpage with javascript. You can download Greasemonkey here:

    https://addons.mozilla.org/en-US/firefox/addon/748

    Now once you have Greasemonkey installed, simply install the script from here:

    cod4serverBanner.user.js
    |TG-12th| jmaker

  2.  
  3. #2

    ikonic's Avatar

    Join Date
    Aug 2007
    Location
    Michigan
    Age
    25
    Posts
    1,387

    Re: Server banners (greasemonkey script)

    You are awesome.
    -F-

  4.  
  5. #3

    KillDaddy's Avatar

    Join Date
    Dec 2007
    Location
    Arkansas
    Age
    33
    Posts
    2,128

    Re: Server banners (greasemonkey script)

    indeed!!!

    Tired of clicking on my own profile or finding my posts with em in it!!

    +rep

    EDIT: Hmmm, it's not working for me.

    EDIT of the EDIT: There it goes. yay!
    Contact Me ~ CoD Contact an Admin Forum ~ CoD Rules & SOPs



    New Rig Specs:
    Intel Core i7 920 @ 2.66ghz - Gigabyte EX58-UD5 Motherboard - 6GB G.Skill DDR3 PC3-10666
    XFX Radeon HD 4870 1GB XXX Edition - 2 x 640GB Western Digital Caviar Black HDDs
    750W PC Power & Cooling Silencer PSU - NZXT Tempest Case



  6.  

     
  7. #4

    KillDaddy's Avatar

    Join Date
    Dec 2007
    Location
    Arkansas
    Age
    33
    Posts
    2,128

    Re: Server banners (greasemonkey script)

    one more thing. I edited this to show on every page since CoD4 is my primary game. is there any way to edit it so that it shows under the table with the User CP link?

    Basically one table up from what it is now.

    also, any way to center it?
    Contact Me ~ CoD Contact an Admin Forum ~ CoD Rules & SOPs



    New Rig Specs:
    Intel Core i7 920 @ 2.66ghz - Gigabyte EX58-UD5 Motherboard - 6GB G.Skill DDR3 PC3-10666
    XFX Radeon HD 4870 1GB XXX Edition - 2 x 640GB Western Digital Caviar Black HDDs
    750W PC Power & Cooling Silencer PSU - NZXT Tempest Case



  8.  
  9. #5

    jmaker's Avatar

    Join Date
    Jan 2006
    Location
    Warren, OH
    Age
    32
    Posts
    3,069

    Re: Server banners (greasemonkey script)

    Yeah KillDaddy I can move it anywhere I want. I guess I can try to center them as well. I'll work on it tomorrow. Sheesh, you want anything else?
    |TG-12th| jmaker

  10.  
  11. #6

    KillDaddy's Avatar

    Join Date
    Dec 2007
    Location
    Arkansas
    Age
    33
    Posts
    2,128

    Re: Server banners (greasemonkey script)

    lol no :P

    all I did in my edit was to swap the two around, made server 1 show up first and server 2 to show up last, and added www.tacticalgamer.com/* to the include list :P
    Contact Me ~ CoD Contact an Admin Forum ~ CoD Rules & SOPs



    New Rig Specs:
    Intel Core i7 920 @ 2.66ghz - Gigabyte EX58-UD5 Motherboard - 6GB G.Skill DDR3 PC3-10666
    XFX Radeon HD 4870 1GB XXX Edition - 2 x 640GB Western Digital Caviar Black HDDs
    750W PC Power & Cooling Silencer PSU - NZXT Tempest Case



  12.  

     
  13. #7

    jmaker's Avatar

    Join Date
    Jan 2006
    Location
    Warren, OH
    Age
    32
    Posts
    3,069

    Re: Server banners (greasemonkey script)

    Ok I've updated the script as per KillDaddy's suggestions and I do like it better this way. It should display on every page and it will be centered. Alternatively, you may edit the position the banners are displayed, either left, center, or right. You'll have to edit one line inside the script to do this. In Firefox go to Tools -> Greasemonkey -> Manage User Scripts and highlight the script and then click the edit button at the bottom and look for this code on line 10.

    Code:
    var position = "center";
    Then replace center with either left or right. And then save the file and you're all set.

    Updated script - cod4serverBanner.user.js

    |TG-12th| jmaker

  14.  
  15. #8

    KillDaddy's Avatar

    Join Date
    Dec 2007
    Location
    Arkansas
    Age
    33
    Posts
    2,128

    Re: Server banners (greasemonkey script)

    danke!!!!
    Contact Me ~ CoD Contact an Admin Forum ~ CoD Rules & SOPs



    New Rig Specs:
    Intel Core i7 920 @ 2.66ghz - Gigabyte EX58-UD5 Motherboard - 6GB G.Skill DDR3 PC3-10666
    XFX Radeon HD 4870 1GB XXX Edition - 2 x 640GB Western Digital Caviar Black HDDs
    750W PC Power & Cooling Silencer PSU - NZXT Tempest Case



  16.  
  17. #9

    badbest321's Avatar

    Join Date
    Jan 2008
    Location
    Schwenksville, Pennsylvania
    Age
    18
    Posts
    1,200

    Re: Server banners (greasemonkey script)

    yea that would be cool so you can tell is there is anyone on.

  18.  

     

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts


  
 

Back to top