Fix indent
This commit is contained in:
parent
790ff84ec9
commit
01a3d69adc
|
@ -21,9 +21,9 @@ chrome.webRequest.onBeforeRequest.addListener(
|
||||||
|
|
||||||
if (excludedSubdomains.indexOf(urlParser.hostname) != -1) return;
|
if (excludedSubdomains.indexOf(urlParser.hostname) != -1) return;
|
||||||
|
|
||||||
for (const path of excludedPaths)
|
for (const path of excludedPaths) {
|
||||||
if (urlParser.pathname.indexOf(path) == 0)
|
if (urlParser.pathname.indexOf(path) == 0) return;
|
||||||
return;
|
}
|
||||||
|
|
||||||
return {redirectUrl: oldReddit + urlParser.pathname};
|
return {redirectUrl: oldReddit + urlParser.pathname};
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue