gfish: (Default)
gfish ([personal profile] gfish) wrote2007-10-24 09:16 am

(no subject)

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.

Post a comment in response:

If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting