mirror of
https://github.com/SimonBrazell/privacy-redirect
synced 2025-01-06 21:42:04 +01:00
Fixes #238
This commit is contained in:
parent
061dfc0904
commit
0bd8507fb8
@ -534,10 +534,7 @@ browser.webRequest.onBeforeRequest.addListener(
|
||||
redirect = {
|
||||
redirectUrl: redirectGoogleMaps(url, initiator),
|
||||
};
|
||||
} else if (
|
||||
redditDomains.includes(url.host) ||
|
||||
redditInstances.includes(url.origin)
|
||||
) {
|
||||
} else if (redditDomains.includes(url.host)) {
|
||||
redirect = {
|
||||
redirectUrl: redirectReddit(url, initiator, details.type),
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user