Skip to content

Simple Bookmarklet to get current City of Calgary traffic camera images

Notifications You must be signed in to change notification settings

hafichuk/Traffic-Cam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 

Repository files navigation

City of Calgary Traffic Cam Bookmarklet

The City of Calgary has done a great job at providing an [interactive map](http://www.calgary.ca/Transportation/Roads/Pages/Traffic/Advisories-cl\ osures-and-detours/Calgary-traffic-report.aspx) for road conditions and traffic cameras in and around the city.

This is a simple Bookmarklet for getting quick access to the images from the traffic cameras.

It opens a new browser window/tab and outputs image tags. There are currently 79 active cameras accessible, though not all produce images all of the time.

In order to keep the javascript simple and not rely on external sources, it outputs invalid html relying on the browser to add html, head & body tags. It's only been tested in Chrome, so if you notice problems in other browsers let me know.

Installation & Usage

To install the bookmarklet, create a bookmark in your browser then copy in the trafficcam.min.js source into the address location.

Minification

Minified version is manually generated via http://jscompress.com/

Attribution

The initial webpage that this bookmarklet was derived from was generated by Taeram

About

Simple Bookmarklet to get current City of Calgary traffic camera images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published