start contentscript: don't query href twice

This commit is contained in:
Chris 2015-03-04 02:01:04 -07:00
parent d7587745cc
commit fbddda46bb

View file

@ -156,11 +156,12 @@ var hideElements = function(selectors) {
}
};
var url = window.location.href;
localMessager.send(
{
what: 'retrieveDomainCosmeticSelectors',
pageURL: window.location.href,
locationURL: window.location.href
pageURL: url,
locationURL: url
},
filteringHandler
);