Updating shared code and adding ability for Firefox

To mark our site as having been viewed by a browser with our plugin
installed.