diff --git a/package.json b/package.json index 31c64ea..2f8f9ab 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "bugs": { "url": "https://github.com/LibRedirect/LibRedirect/issues" }, - "homepage": "https://github.com/LibRedirect/LibRedirect#readme", + "homepage": "https://github.com/LibRedirect/LibRedirect", "devDependencies": { "web-ext": "^6.7.0" }, diff --git a/src/assets/javascripts/helpers/sendTargets.js b/src/assets/javascripts/helpers/sendTargets.js index f5690d5..66b39b7 100644 --- a/src/assets/javascripts/helpers/sendTargets.js +++ b/src/assets/javascripts/helpers/sendTargets.js @@ -3,7 +3,8 @@ window.browser = window.browser || window.chrome; import commonHelper from './common.js' const targets = [ - /^https?:\/\/send\.firefox\.com\/$/, + /^https?:\/\/send.onion\/$/, + /^ https ?: \/\/send\.firefox\.com\/$/, /^https?:\/\/sendfiles\.online\/$/ ]; diff --git a/src/assets/javascripts/helpers/wikipedia.js b/src/assets/javascripts/helpers/wikipedia.js index fbe6574..a2e9cab 100644 --- a/src/assets/javascripts/helpers/wikipedia.js +++ b/src/assets/javascripts/helpers/wikipedia.js @@ -98,11 +98,9 @@ function setWikilessTorCustomRedirects(val) { let theme; let applyThemeToSites; function initWikilessCookies() { - console.log("applyThemeToSites", applyThemeToSites) let themeValue; if (theme == 'light') themeValue = 'white'; if (theme == 'dark') themeValue = 'dark'; - console.log("themeValue", themeValue) if (applyThemeToSites && themeValue) { let allInstances = [...redirects.wikiless.normal, ...redirects.wikiless.tor, ...wikilessNormalCustomRedirects, ...wikilessTorCustomRedirects] let checkedInstances = [...wikilessNormalRedirectsChecks, ...wikilessNormalCustomRedirects, ...wikilessTorRedirectsChecks, ...wikilessTorCustomRedirects] diff --git a/src/assets/javascripts/helpers/youtube/youtube.js b/src/assets/javascripts/helpers/youtube/youtube.js index 760cb67..0eed1ce 100644 --- a/src/assets/javascripts/helpers/youtube/youtube.js +++ b/src/assets/javascripts/helpers/youtube/youtube.js @@ -440,8 +440,6 @@ function redirect(url, details, initiator) { } function changeInstance(url) { - console.log("changeInstance Youtube"); - let protocolHost = `${url.protocol}//${url.host}`; console.log("protocolHost", protocolHost); diff --git a/src/pages/popup/popup.html b/src/pages/popup/popup.html index 7abf682..a024d51 100644 --- a/src/pages/popup/popup.html +++ b/src/pages/popup/popup.html @@ -10,83 +10,83 @@