Added anti-AMP entries

This commit is contained in:
Imre Kristoffer Eilertsen
2021-04-16 08:41:24 +02:00
committed by GitHub
parent e8b6fa8b89
commit 11838737ed
@@ -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"
]
}
]
}