1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

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'