Add support for Ecosia

This commit is contained in:
Alice Rose Murphy 2022-06-11 23:21:48 +02:00
parent d6b9fede76
commit a66e48da92
4 changed files with 5 additions and 1 deletions

View File

@ -40,6 +40,7 @@ const badIdentifiersArray = [
'docs.google.com', 'docs.google.com',
'drive.google.com', 'drive.google.com',
'duckduckgo.com', 'duckduckgo.com',
'ecosia.org',
'en.wikipedia.org', 'en.wikipedia.org',
'en.wikiquote.org', 'en.wikiquote.org',
'etsy.com=SN', 'etsy.com=SN',
@ -460,6 +461,7 @@ const socialNetworkPatterns = [
"*://*.rationalwiki.org/*", "*://*.rationalwiki.org/*",
"*://*.google.com/*", "*://*.google.com/*",
"*://*.bing.com/*", "*://*.bing.com/*",
"*://*.ecosia.org/*",
"*://duckduckgo.com/*", "*://duckduckgo.com/*",
]; ];

View File

@ -93,6 +93,7 @@ function init() {
'rationalwiki.org', 'rationalwiki.org',
'duckduckgo.com', 'duckduckgo.com',
'bing.com', 'bing.com',
'ecosia.org',
].includes(hostname) || ].includes(hostname) ||
domainIs(hostname, 'tumblr.com') || domainIs(hostname, 'tumblr.com') ||
domainIs(hostname, 'wikipedia.org') || domainIs(hostname, 'wikipedia.org') ||

View File

@ -26,6 +26,7 @@
"*://duckduckgo.com/*", "*://duckduckgo.com/*",
"*://*.bing.com/*", "*://*.bing.com/*",
"*://*.ecosia.org/*",
"*://*.google.ar/*", "*://*.google.ar/*",
"*://*.google.at/*", "*://*.google.at/*",

View File

@ -64,7 +64,7 @@
<i>(topics)</i></label> <i>(topics)</i></label>
<label class="website-checkbox"><input type="checkbox" data-site="reddit.com">Reddit</i></label> <label class="website-checkbox"><input type="checkbox" data-site="reddit.com">Reddit</i></label>
<label class="website-checkbox"><input type="checkbox" data-site="search-engines">Google, Bing, <label class="website-checkbox"><input type="checkbox" data-site="search-engines">Google, Bing,
DuckDuckGo <i>(search results)</i></label> DuckDuckGo, Ecosia <i>(search results)</i></label>
<label class="website-checkbox"><input type="checkbox" data-site="tumblr.com">Tumblr</label> <label class="website-checkbox"><input type="checkbox" data-site="tumblr.com">Tumblr</label>
<label class="website-checkbox"><input type="checkbox" data-site="twitter.com">Twitter</label> <label class="website-checkbox"><input type="checkbox" data-site="twitter.com">Twitter</label>
<label class="website-checkbox"><input type="checkbox" data-site="wikipedia.org">Wikipedia <label class="website-checkbox"><input type="checkbox" data-site="wikipedia.org">Wikipedia