Add easylist.to as a valid target for subscriber content script

This commit is contained in:
Raymond Hill 2020-09-14 08:43:51 -04:00
parent 9ab105b400
commit fe9797cacc
No known key found for this signature in database
GPG key ID: 25E1490B761470C2
6 changed files with 6 additions and 1 deletions

View file

@ -45,6 +45,7 @@
},
{
"matches": [
"https://easylist.to/*",
"https://filterlists.com/*",
"https://github.com/*",
"https://*.github.io/*"

View file

@ -55,6 +55,7 @@
},
{
"matches": [
"https://easylist.to/*",
"https://filterlists.com/*",
"https://github.com/*",
"https://*.github.io/*"

View file

@ -45,6 +45,7 @@
},
{
"matches": [
"https://easylist.to/*",
"https://filterlists.com/*",
"https://github.com/*",
"https://*.github.io/*"

View file

@ -36,6 +36,7 @@
},
{
"matches": [
"https://easylist.to/*",
"https://filterlists.com/*",
"https://github.com/*",
"https://*.github.io/*"

View file

@ -49,6 +49,7 @@
},
{
"matches": [
"https://easylist.to/*",
"https://filterlists.com/*",
"https://github.com/*",
"https://*.github.io/*"

View file

@ -59,7 +59,7 @@ const onMaybeSubscriptionLinkClicked = function(ev) {
try {
// https://github.com/uBlockOrigin/uBlock-issues/issues/763#issuecomment-691696716
// Remove replacement patch if/when filterlists.com fixes encoded '&'.
subscribeURL.href = target.href.replace('&', '&');
subscribeURL.href = target.href.replace('&title=', '&title=');
if (
/^(abp|ubo):$/.test(subscribeURL.protocol) === false &&
subscribeURL.hostname !== 'subscribe.adblockplus.org'