mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
Add easylist.to as a valid target for subscriber content script
This commit is contained in:
parent
9ab105b400
commit
fe9797cacc
6 changed files with 6 additions and 1 deletions
|
@ -45,6 +45,7 @@
|
|||
},
|
||||
{
|
||||
"matches": [
|
||||
"https://easylist.to/*",
|
||||
"https://filterlists.com/*",
|
||||
"https://github.com/*",
|
||||
"https://*.github.io/*"
|
||||
|
|
|
@ -55,6 +55,7 @@
|
|||
},
|
||||
{
|
||||
"matches": [
|
||||
"https://easylist.to/*",
|
||||
"https://filterlists.com/*",
|
||||
"https://github.com/*",
|
||||
"https://*.github.io/*"
|
||||
|
|
|
@ -45,6 +45,7 @@
|
|||
},
|
||||
{
|
||||
"matches": [
|
||||
"https://easylist.to/*",
|
||||
"https://filterlists.com/*",
|
||||
"https://github.com/*",
|
||||
"https://*.github.io/*"
|
||||
|
|
|
@ -36,6 +36,7 @@
|
|||
},
|
||||
{
|
||||
"matches": [
|
||||
"https://easylist.to/*",
|
||||
"https://filterlists.com/*",
|
||||
"https://github.com/*",
|
||||
"https://*.github.io/*"
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
},
|
||||
{
|
||||
"matches": [
|
||||
"https://easylist.to/*",
|
||||
"https://filterlists.com/*",
|
||||
"https://github.com/*",
|
||||
"https://*.github.io/*"
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue