Forecastfox, Javascript, and the Windows Object

When we added icon packs to our forecastfox extension, we added a "forecastfox&quot javascript object to the global windows object. This was done in the exact same way the sidebar object is added. This allows us to be able to install an icon pack directly from a web site.

A site can tell if forecastfox is installed and what version is installed. I’ve decided to add a message to the top of my blog showing you what version of the extension you have installed. In the future this may change to let you know when your version is no longer supported.