?

Log in

No account? Create an account

Previous Entry | Next Entry

Just About the Dopest Thing I Know Of

So jamisononfire told us about http://www.nextmuni.com/googleMap/test.jsp?a=sf-muni which is really fucking dope. By editing the "r" GET arg you can specify any MUNI route that uses overhead wires. Issue is you can't select multiple routes to display on the map at once, if they aren't like one of the 10 routes NextBus supports in their popup window. So wrote my first evar GreaseMonkey script which shows me the routes I care about. Easy to modify to suit the routes you care about!

// ==UserScript==
// @name          Next Muni More Routes
// @namespace     http://daveman692.livejournal.com
// @description   Allows viewing of multiple routes which aren't visible in the UI at http://www.nextmuni.com/googleMap/
// @include       http://www.nextmuni.com/googleMap/test.jsp?a=sf-muni&r=22
// @include       http://www.nextmuni.com/googleMap/test.jsp?a=sf-muni&r=22#
// @include       http://www.nextmuni.com/googleMap/test.jsp?a=sf-muni
// ==/UserScript==

window.setTimeout(
	function() {
		unsafeWindow.hideRoute('22');
		unsafeWindow.showRoute('31');
		unsafeWindow.showRoute('5');
	}, 5000);

Comments

( 1 comment — Leave a comment )
mahlon
Mar. 2nd, 2006 07:11 am (UTC)
Your excessive use of the word 'dope' dilutes its meaning when used in the future.
( 1 comment — Leave a comment )