Thursday, December 11, 2008

Capitals ASG Auto-voter at your service!

Time to fight fire with fire. Here's the post that set off the auto voting fire storm.


Simply follow those directions. That will download all the programs you need to vote automatically, BUT, that is the script for Montreal Canadiens players!

So here's what you need to do.

After installing Grease Monkey, in your FireFox tabs click TOOLS, scroll down to GREASEMONKEY and click on MANAGE USER SCRIPTS. On the left hand side of the program should be the Auto Voter script.

You need to edit that script so it will vote for Caps players! But how?

Click on the script and hit EDIT. It will ask you to use a word processor of your choice. Let's use Notepad.

Here's where you typically find NOTEPAD:
C:\Documents and Settings\Owner\Start Menu\Programs\Accessories

Open the script with NOTEPAD. Delete all the text and replace with this below. After you have done that, just load up http://ca.fanballoting.nhl.com/vote and go do whatever, you're voting. Oh and you can have as many windows as you want voting at any time.

// ==UserScript==

// @name NHL All-stars Voter

// @namespace nhl

//@description This script votes for all Montreal Canadiens players.

// @include http://ca.fanballoting.nhl.com/vote

// ==/UserScript==

/*

var players = Array('8471214','8470120','8469639','8473991','8471242','8462161');

for (var i = 7; i <>

{

var id = "player_"+str(i);

alert(id);

document.getElementById(id).value = players[i-7];

}

*/

function GetXmlHttpObject()

{

var xmlHttp=null;

try

{

// Firefox, Opera 8.0+, Safari

xmlHttp=new XMLHttpRequest();

}

catch (e)

{

// Internet Explorer

try

{

xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");

}

catch (e)

{

xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");

}

}

return xmlHttp;

}

function vote2(p)

{

xmlHttp=GetXmlHttpObject();

if (xmlHttp==null)

{

alert ("Your browser does not support AJAX!");

return;

}

xmlHttp.onreadystatechange=function()

{

if(xmlHttp.readyState==4)

{

location.reload(true);

}

}

xmlHttp.open("POST","vote",true);

xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded")

xmlHttp.send(p);

}

try{

var post = "player_1=&player_2=&player_3=&player_4=&player_5=&player_6=&player_7=8471214&player_8=8470120&player_9=8469639&player_10=8473991&player_11=8471242&player_12=8462161";

var build = document.getElementsByName('form_build_id')[0].value;

var token = document.getElementsByName('form_token')[0].value;

var form = document.getElementsByName('form_id')[0].value;

var x = Math.round(Math.random()*270);

var y = Math.round(Math.random()*34);

var rest = "&vote_button.x="+x+"&vote_button.y="+y;

rest += "&form_build_id="+build;

rest += "&form_token="+token;

rest += "&form_id="+form;

post += rest;

vote2(post);

}

catch(e)

{

location.reload(true);

}


-----------------end of script, don't copy this-------------

For the record, all I did was modify the original script, which the Pens fans did. The Habs fans actually programmed it, but the Pens fans and now myself, just modified it. It was pretty simple and didn't require any programming or anything, just copy and pasting six numbers in the right places.

I can't say I condone leaving your computer on all night to vote 10000000 million times, but more or less I did this to show how easy it was to rig it to vote for the Caps. So if you're one of those types who wants to vote for AO ten billion times, have at it.

Thanks Habs fans for making this for us! Love Pens and Caps.

17 comments:

  1. Maybe I'm an idiot but the web address http://www.gotdooced.com/nhl.user.is comes up not found.

    ReplyDelete
  2. I ran in to that earlier, I wonder if it got taken down finally?

    ReplyDelete
  3. Correction it is http://www.gotdooced.com/nhl.user.js

    not an i, a j.

    ReplyDelete
  4. Thanks, working now. I just hope you put in the correct players :)

    Just for the record, it doesn't matter that it says "@description This script votes for all Montreal Canadiens players" in the script does it? Thanks

    ReplyDelete
  5. we have more class than this

    ReplyDelete
  6. Class? It's the only way to keep up with Montreal and Pittsburg votes who are doing the same thing. I see absolutely nothing wrong with it if other teams are doing it also.

    ReplyDelete
  7. I don't think it's a matter of class, but more or less just letting the NHL know how BS this ASG voting is.

    ReplyDelete
  8. Pens fans are NOT using a script. Never have. Never will. Abhor those that do, and if you want us to keep voting for Ovie you won't either.

    ReplyDelete
  9. One quick way to get Ovie's points up is to text his name to 81812. You can use www.freetextsend.com and just put his name in subject and message body. You can get a bunch of votes fast that way. Or, just use group send from your mobile phone.

    ReplyDelete
  10. Anon...that screen cap of the instructions came from your board....

    Not all fans are using scripts but its' being done on all sides...

    ReplyDelete
  11. @ Anon 4:36 PM

    Thx for that site- I don't have unlimited texting on my phone so thought that option was closed to me.

    FYI, You can also text Capitals to 81812 and vote for all 3 Caps players on the ballot (Ovechkin, Semin, and Green) at once.

    Unfortunately, the only way to vote for players not already on the ballot is to enter their name individually.

    ReplyDelete
  12. Thanks for the tip ErrantElf! Seems like texting is the easiest way to do it. If your at the game (pitt and caps) just text during the intermissions.

    ReplyDelete
  13. True, CapsK, but we're not using it. Never did. Swear. Increments in numbers of votes support that. Only Montreal fans got away with it, before ReCaptcha implemented. Doesn't look like NHL is going to take away any more of the scripted votes, though, so get busy voting. Fleury in goal, Ovechkin starting line.

    Rally your troops on Ovie. We have 300,000 to catch up.

    Do it.

    ReplyDelete
  14. Yeah Anon. I don't think the script is working anymore or at least not in the numbers it used to. Text message voting seems the easiest way now.

    ReplyDelete
  15. one question though, will Fleury have the 20 games to qualify

    ReplyDelete
  16. LOL, this is the same script that the Habs fans used BEFORE the captcha was added.

    Good grief.

    ReplyDelete

 
Technorati Profile