September 2022

S M T W T F S
    123
45678910
11121314151617
181920 21222324
2526 27282930 

Style Credit

Expand Cut Tags

No cut tags
Wednesday, October 24th, 2007 09:16 am
I know this won't be useful to many of you, but I wanted to get it indexed as a public service.

If you want to create a link to Vancouver TransLink's NextBus page that will always load for right now (as compared to the time when you happened to bookmark it), add a bookmark with the following URL:

javascript:d = new Date(); document.location = "http://tripplanning.translink.bc.ca/hiwire?.a=iNextBusFind&.s=%7B%24SID%7D&ShowTimes=1&NumStopTimes=5&LineDirId=&GetSchedules=1&Geocode=0&FormState=0&StopAbbr=XXXXX&FromHourDropDown=" + d.getHours() * 100 + "&FromMinuteDropDown=" + d.getMinutes() + "&FromMeridiemDropDown=" + (d.getHours() >= 12 ? 'p' : 'a') + "&SB=Search&.a=iTripPlanning";

Replace XXXXX with whatever stop number you're interested in. Boom, quick and easy way to check for the next bus arrival.
Wednesday, October 24th, 2007 07:08 pm (UTC)
I meant, change XXXXX in the saved bookmark. Most people only use a handful of stops regularly, so it makes sense to make a quick and easy bookmark for each.