Nov 14, 2018
5:41:51pm
silent_t Playmaker
I made a script.

Steps:

1. Create a bookmark in your browser. I suggest calling it "Pro Cougs!"

2. Paste the below code in the URL section: 

javascript:(function()%7Bfunction%20callback()%7B(function(%24)%7Bvar%20jQuery%3D%24%3Bfunction%20wait_for_votes(success)%20%7Bif%20(document.getElementsByClassName('voted').length%20%3D%3D%207)%20%7Bsuccess()%3Breturn%3B%7DsetTimeout(function%20()%20%7Bwait_for_votes(success)%3B%7D%2C%2010)%3B%7Dfunction%20wait_for_taysom(success)%20%7Bsel%20%3D%20%22%23983040_13_1_33%22%3Bif%20(%24(sel).filter(%22%3Avisible%22).length)%20%7Bsuccess()%3Breturn%3B%7DsetTimeout(function%20()%20%7Bwait_for_taysom(success)%3B%7D%2C%2010)%3B%7Dif(window.location.href%20%3D%3D%20%22http%3A%2F%2Fwww.nfl.com%2Fprobowl%2Fballot%2Fthank-you%22)%20%7Bwindow.location.href%20%3D%20%22http%3A%2F%2Fwww.nfl.com%2Fprobowl%2Fballot%22%7Dif(window.location.href%20%3D%3D%20%22http%3A%2F%2Fwww.nfl.com%2Fprobowl%2Fballot%22)%20%7Bwait_for_taysom(function%20()%20%7Bdocument.getElementById(%22button-QB%22).firstChild.click()%3B%2F*%20QB%20Taysom%20*%2Fdocument.getElementById(%22983040_13_1_33%22).firstChild.click()%3Bdocument.getElementById(%22button-RB%22).firstChild.click()%3B%2F*%20RB%20Jamaal%20*%2Fdocument.getElementById(%22983040_14_1_49%22).firstChild.click()%3Bdocument.getElementById(%22button-DE%22).firstChild.click()%3B%2F*%20DE%20Ziggy%20*%2Fdocument.getElementById(%22983040_03_1_03%22).firstChild.click()%3Bdocument.getElementById(%22button-ILB%22).firstChild.click()%3B%2F*%20ILB%20Warner%20*%2Fdocument.getElementById(%22983040_08_1_42%22).firstChild.click()%3Bdocument.getElementById(%22button-OLB%22).firstChild.click()%3B%2F*%20OLB%20KVN%20*%2Fdocument.getElementById(%22983040_11_1_53%22).firstChild.click()%3Bdocument.getElementById(%22button-KR%22).firstChild.click()%3B%2F*%20KS%20Taysom%20*%2Fdocument.getElementById(%22983040_09_1_12%22).firstChild.click()%3Bdocument.getElementById(%22button-KR%22).firstChild.click()%3Bwait_for_votes(function%20()%20%7B%24('%23ballot-submit').click()%3B%7D)%3B%7D)%3B%7Delse%20%7Bwindow.location.href%20%3D%20%22http%3A%2F%2Fwww.nfl.com%2Fprobowl%2Fballot%22%7D%7D)(jQuery.noConflict(true))%7Dvar%20s%3Ddocument.createElement(%22script%22)%3Bs.src%3D%22https%3A%2F%2Fajax.googleapis.com%2Fajax%2Flibs%2Fjquery%2F1.11.1%2Fjquery.min.js%22%3Bif(s.addEventListener)%7Bs.addEventListener(%22load%22%2Ccallback%2Cfalse)%7Delse%20if(s.readyState)%7Bs.onreadystatechange%3Dcallback%7Ddocument.body.appendChild(s)%3B%7D)()

3. Click the bookmark ("Pro Cougs!")

If you are on a different page, it will load the ballot. If you are on the ballot it will fill out the ballot and submit it. If you are on the thank you page it will take you to the ballot. Basically, you can just keep clicking on the bookmark and it will do what you need.

 

Let me know if there are any issues, just threw it together so it might not be perfect

 

This message has been modified
Originally posted on Nov 14, 2018 at 5:41:51pm
Message modified by silent_t on Nov 14, 2018 at 6:12:00pm
silent_t
Previous username
(Private)
Bio page
silent_t
Joined
Mar 5, 2013
Last login
May 24, 2024
Total posts
1,687 (199 FO)
Messages
Author
Time
Ha.
11/14/18 7:09am
11/14/18 12:34pm
11/15/18 5:43am

Posting on CougarBoard

In order to post, you will need to either sign up or log in.