From b460101bffc04b13579d0e5e500d76910dbc1fd8 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Thu, 7 Dec 2017 21:45:43 +0100 Subject: [PATCH] Tighten a bit some urls, thanks to @q-- (#1869) * Tighten a bit the url, thanks to @q-- * Fix a typo, thanks to @q-- * Fix an other `^^` instance --- src/apps.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/apps.json b/src/apps.json index ca40286ef..a6aa75f19 100644 --- a/src/apps.json +++ b/src/apps.json @@ -1004,7 +1004,7 @@ "meta": { "generator": "^Blogger$" }, - "url": "\\.blogspot\\.com", + "url": "^https?://[^/]+\\.blogspot\\.com", "website": "http://www.blogger.com" }, "Bluefish": { @@ -1607,8 +1607,8 @@ "56" ], "env": "^CoinHive$", - "script": "\\/(?:coinhive|(authedmine))(?:\\.min)?\\.js\\;version:\\1?opt-in:", - "url": "https?://cnhv.co/", + "script": "\\/(?:coinhive|(authedmine))(?:\\.min)?\\.js\\;version:\\1?opt-in:", + "url": "https?://cnhv\\.co/", "icon": "CoinHive.svg", "website": "https://coinhive.com" }, @@ -3292,7 +3292,7 @@ "1" ], "icon": "Google Sites.png", - "url": "sites\\.google\\.com", + "url": "^https?://sites\\.google\\.com", "website": "http://sites.google.com" }, "Google Tag Manager": { @@ -5209,7 +5209,7 @@ }, "icon": "Medium.svg", "script": "medium\\.com", - "url": "^(?:www\\.)?medium\\.com", + "url": "^https?://(?:www\\.)?medium\\.com", "website": "https://medium.com" }, "Meebo": { @@ -7160,7 +7160,7 @@ "html": "(?:]+Powered by Reddit|powered by ]+>reddit<)", "icon": "Reddit.png", "implies": "Python", - "url": "^(?:www\\.)?reddit\\.com", + "url": "^https?://(?:www\\.)?reddit\\.com", "website": "http://code.reddit.com" }, "Redmine": { @@ -8395,7 +8395,7 @@ "meta": { "generator": "^Svbtle\\.com$" }, - "url": "\\.svbtle\\.com", + "url": "^https?://[^/]+\\.svbtle\\.com", "website": "https://www.svbtle.com" }, "SweetAlert": {