mirror of
https://github.com/DandelionSprout/adfilt.git
synced 2026-10-05 22:04:30 +01:00
Added anti-AMP entries
This commit is contained in:
@@ -755,6 +755,40 @@
|
||||
"appliesTo": [
|
||||
"main_frame"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "AMP removal 1",
|
||||
"exampleUrl": "https://www.google.no/amp/s/www.news18.com/amp/news/buzz/bengal-woman-changes-name-to-supreme-imperium-viral-newspaper-ad-has-internet-in-splits-3510020.html",
|
||||
"exampleResult": "https://www.news18.com/news/buzz/bengal-woman-changes-name-to-supreme-imperium-viral-newspaper-ad-has-internet-in-splits-3510020.html",
|
||||
"error": null,
|
||||
"includePattern": "https://www\\.google\\.[a-z]{2,}/amp/s/([a-z0-9.-]{1,})/amp/(.*)",
|
||||
"excludePattern": "",
|
||||
"patternDesc": "",
|
||||
"redirectUrl": "https://$1/$2",
|
||||
"patternType": "R",
|
||||
"processMatches": "noProcessing",
|
||||
"disabled": false,
|
||||
"grouped": false,
|
||||
"appliesTo": [
|
||||
"main_frame"
|
||||
]
|
||||
},
|
||||
{
|
||||
"description": "AMP removal 2",
|
||||
"exampleUrl": "https://www.news18.com/amp/news/buzz/bengal-woman-changes-name-to-supreme-imperium-viral-newspaper-ad-has-internet-in-splits-3510020.html",
|
||||
"exampleResult": "https://www.news18.com/news/buzz/bengal-woman-changes-name-to-supreme-imperium-viral-newspaper-ad-has-internet-in-splits-3510020.html",
|
||||
"error": null,
|
||||
"includePattern": "(https?://[a-z0-9.-]{1,})/amp/(.*)",
|
||||
"excludePattern": "",
|
||||
"patternDesc": "",
|
||||
"redirectUrl": "$1/$2",
|
||||
"patternType": "R",
|
||||
"processMatches": "noProcessing",
|
||||
"disabled": false,
|
||||
"grouped": false,
|
||||
"appliesTo": [
|
||||
"main_frame"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user