Update background.js

This commit is contained in:
Austin Huang 2020-11-29 15:42:38 -05:00 committed by GitHub
parent 4bf5f20ad4
commit 5522efc2ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -109,8 +109,10 @@ const redditDomains = [
];
const redditBypassPaths = /\/(gallery\/poll\/rpan\/settings\/topics)/;
const oldRedditViews = [
"https://teddit.net", // privacy
"https://snew.notabug.io", // anti-censorship
"https://old.reddit.com", // desktop
"https://i.reddit.com", // mobile
"https://i.reddit.com" // mobile
];
const oldRedditDefaultView = oldRedditViews[0];
const googleMapsRegex = /https?:\/\/(((www|maps)\.)?(google\.).*(\/maps)|maps\.(google\.).*)/;