Make parser const

This commit is contained in:
Michał Szopiński 2020-07-16 14:45:13 +02:00
parent a986d17e84
commit 790ff84ec9
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ const excludedPaths = [
chrome.webRequest.onBeforeRequest.addListener(
function(details) {
let urlParser = document.createElement("a");
const urlParser = document.createElement("a");
urlParser.href = details.url;
if (urlParser.hostname == "old.reddit.com") return;