From 11838737ed06d03d1bade2df9306a5367e746618 Mon Sep 17 00:00:00 2001 From: Imre Kristoffer Eilertsen Date: Fri, 16 Apr 2021 08:41:24 +0200 Subject: [PATCH] Added anti-AMP entries --- .../DandelionSproutRedirectorList.json | 34 +++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/Dandelion Sprout-s Redirector Assistant List/DandelionSproutRedirectorList.json b/Dandelion Sprout-s Redirector Assistant List/DandelionSproutRedirectorList.json index ccaf705c5..512eab7d3 100644 --- a/Dandelion Sprout-s Redirector Assistant List/DandelionSproutRedirectorList.json +++ b/Dandelion Sprout-s Redirector Assistant List/DandelionSproutRedirectorList.json @@ -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" + ] } ] }