Preserve query string and hash
This commit is contained in:
parent
01a3d69adc
commit
2c28b50960
|
@ -25,7 +25,7 @@ chrome.webRequest.onBeforeRequest.addListener(
|
||||||
if (urlParser.pathname.indexOf(path) == 0) return;
|
if (urlParser.pathname.indexOf(path) == 0) return;
|
||||||
}
|
}
|
||||||
|
|
||||||
return {redirectUrl: oldReddit + urlParser.pathname};
|
return {redirectUrl: oldReddit + urlParser.pathname + urlParser.search + urlParser.hash};
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
urls: [
|
urls: [
|
||||||
|
|
Loading…
Reference in New Issue