background.js
// gets manifest information to send to Sniffer
gets manifest information to send to Sniffer
gets manifest information to send to Sniffer
function GetManifest()
{
    var req = new XMLHttpRequest();
    req.open("GET", chrome.extension.getURL("manifest.json"), false);
    req.send(null);
    if(req.readyState == 4)
    {
        return JSON.parse(req.responseText);
    }
}
function GetManifest ( ) { var req = new XMLHttpRequest ( ) ; req . open ( "GET" , chrome . extension . getURL ( "manifest.json" ) , false ) ; req . send ( null ) ; if ( req . readyState == 4 ) { return JSON . parse ( req . responseText ) ; } }
gets manifest information to send to Sniffer
gets manifest information to send to Sniffer