-
-
Save vielmetti/590fc37c58a13e1a34a1b8217f571c82 to your computer and use it in GitHub Desktop.
Make The Ride's Live Maps So Much Better
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Find an extension or plugin that let's you run your own javascript on a page | |
//I'm using "Custom JavaScript for websites" in Chrome. | |
//Replace the array with the route numbers you care about. Just the number | |
var routesYouCareAbout = [5, 6, 62]; | |
window.onload = function() { | |
//Loop through the numbers in the array and click them | |
for(i = 0; i < routesYouCareAbout.length; i++) { | |
document.getElementById("chk" + routesYouCareAbout[i]).click(); | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment