Prevent the script to do anything usefull when loaded in a non http(s): dite

When opening a new page with topsites the script is loaded and triggered, once loaded and toggling between pages the script is unreachable. This commit makes the behavior consistent.

Fixes issue #7.