From b2b77a665d522322e9652cdd5268a65091fb8c87 Mon Sep 17 00:00:00 2001 From: Limon Monte Date: Sun, 14 May 2017 11:29:30 +0300 Subject: [PATCH 1/3] Add "excludes": "SweetAlert" to SweetAlert2 configuration --- src/apps.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/apps.json b/src/apps.json index 40cb8cd92..6529c94ec 100755 --- a/src/apps.json +++ b/src/apps.json @@ -7791,6 +7791,7 @@ "cats": [ "12" ], + "excludes": "SweetAlert", "html": "]+?href=\"[^\"]+sweetalert2(?:\\.min)?\\.css", "icon": "SweetAlert2.png", "script": "sweetalert2(?:\\.min)?\\.js", @@ -10494,4 +10495,4 @@ "priority": "9" } } -} \ No newline at end of file +} From 7e6b07234bb8da99e1d6fd391307afa144459e0c Mon Sep 17 00:00:00 2001 From: MicroDreamIT Date: Sun, 14 May 2017 21:35:21 +0600 Subject: [PATCH 2/3] updating shapecss for unminified version --- src/apps.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/apps.json b/src/apps.json index 40cb8cd92..fe862117e 100755 --- a/src/apps.json +++ b/src/apps.json @@ -7156,7 +7156,11 @@ "env": "^Shapecss$", "html": "]* href=\"[^\"]*shapecss(?:\\.min)?\\.css", "icon": "Shapecss.svg", - "script": "shapecss(?:\\.min)?\\.js", + "script": [ + "shapecss(?:\\-|\\.)([\\d.]*\\d)[^/]*\\.js\\;version:\\1", + "/([\\d.]+)/shapecss(?:\\.min)?\\.js\\;version:\\1", + "shapecss.*\\.js" + ], "website": "https://shapecss.com" }, "ShareThis": { @@ -10494,4 +10498,4 @@ "priority": "9" } } -} \ No newline at end of file +} From b74ee150c7c28b87eaca629ba43178cb7e4c18ef Mon Sep 17 00:00:00 2001 From: MicroDreamIT Date: Sun, 14 May 2017 23:09:39 +0600 Subject: [PATCH 3/3] Update apps.json replacing (?:\\-|\\.) with [-.] --- src/apps.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/apps.json b/src/apps.json index fe862117e..f74ac5a5a 100755 --- a/src/apps.json +++ b/src/apps.json @@ -7157,7 +7157,7 @@ "html": "]* href=\"[^\"]*shapecss(?:\\.min)?\\.css", "icon": "Shapecss.svg", "script": [ - "shapecss(?:\\-|\\.)([\\d.]*\\d)[^/]*\\.js\\;version:\\1", + "shapecss[-.]([\\d.]*\\d)[^/]*\\.js\\;version:\\1", "/([\\d.]+)/shapecss(?:\\.min)?\\.js\\;version:\\1", "shapecss.*\\.js" ],