/** Title: Pinpointer Version: 1.0 Author: Ben Goldsworthy This file is a part of Pinpointer, a browser extension that allows you to create and share links to arbitrary content on a webpage. This script runs in the browser windo and selects elements to pass on to the extension popup menu. */ (function() { /** * Protects against multiple injections of the same content script. */ if (window.hasRun) return; window.hasRun = true; var firstRun = true; // Creates a stylesheet used for highlighting selected elements. // Source: https://davidwalsh.name/add-rules-stylesheets var sheet = (function() { // Create the