From 9106319801439268fecfca1db8bcae69bcbad109 Mon Sep 17 00:00:00 2001 From: magnolia1234 <7676006-magnolia1234@users.noreply.gitlab.com> Date: Thu, 10 Sep 2020 22:13:46 +0200 Subject: [PATCH] Fix-update2 TheAge.com.au --- contentScript.js | 2 +- lp/manifest.json | 2 +- manifest.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/contentScript.js b/contentScript.js index 07b35ef..38ac9ae 100644 --- a/contentScript.js +++ b/contentScript.js @@ -42,7 +42,7 @@ if (matchDomain("thesaturdaypaper.com.au")) { else if (matchDomain(["theage.com.au"])) { let url = window.location.href; - let for_subscribers = document.querySelector('meta[content="FOR SUBSCRIBERS"]'); + let for_subscribers = document.querySelector('meta[content^="FOR SUBSCRIBERS"]'); if (for_subscribers) { window.setTimeout(function () { window.location.href = url.replace('www.', 'amp.'); diff --git a/lp/manifest.json b/lp/manifest.json index 5559c27..8c9e1cc 100644 --- a/lp/manifest.json +++ b/lp/manifest.json @@ -304,5 +304,5 @@ "webRequest", "webRequestBlocking" ], - "version": "1.8.4.2" + "version": "1.8.4.3" } \ No newline at end of file diff --git a/manifest.json b/manifest.json index 90a4583..544f4bf 100644 --- a/manifest.json +++ b/manifest.json @@ -40,5 +40,5 @@ "webRequest", "webRequestBlocking" ], - "version": "1.8.4.2" + "version": "1.8.4.3" } \ No newline at end of file