From 6997058fc11b55dfaa1ba75e4bd89a3f3802fadd Mon Sep 17 00:00:00 2001 From: nurbek Date: Fri, 14 Oct 2022 03:39:40 +0600 Subject: [PATCH 1/2] Add Htmx / js-lib --- src/drivers/webextension/images/icons/Htmx.svg | 8 ++++++++ src/technologies/h.json | 14 ++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 src/drivers/webextension/images/icons/Htmx.svg diff --git a/src/drivers/webextension/images/icons/Htmx.svg b/src/drivers/webextension/images/icons/Htmx.svg new file mode 100644 index 000000000..5df16df91 --- /dev/null +++ b/src/drivers/webextension/images/icons/Htmx.svg @@ -0,0 +1,8 @@ + + + + + + + + diff --git a/src/technologies/h.json b/src/technologies/h.json index caa015138..6bc4327f7 100644 --- a/src/technologies/h.json +++ b/src/technologies/h.json @@ -79,6 +79,20 @@ }, "website": "https://www.rfc-editor.org/rfc/rfc6797#section-6.1" }, + "Htmx": { + "cats": [ + 59 + ], + "description": "Htmx is a JavaScript library for performing AJAX requests, triggering CSS transitions, and invoking WebSocket and server-sent events directly from HTML elements.", + "icon": "Htmx.svg", + "dom": "script[data-src*='/dist/htmx.min.js']", + "js": { + "htmx": "" + }, + "scriptSrc": "/htmx.org@([\\d\\.]+)\\;version:\\1", + "oss": true, + "website": "https://htmx.org" + }, "HTTP/2": { "cats": [ 19 From c6c77dfbeecf1e11b852bca6c0b75208aa409bcf Mon Sep 17 00:00:00 2001 From: nurbek Date: Fri, 14 Oct 2022 03:40:15 +0600 Subject: [PATCH 2/2] fix regex --- src/technologies/h.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/technologies/h.json b/src/technologies/h.json index 6bc4327f7..f87be64e5 100644 --- a/src/technologies/h.json +++ b/src/technologies/h.json @@ -89,7 +89,7 @@ "js": { "htmx": "" }, - "scriptSrc": "/htmx.org@([\\d\\.]+)\\;version:\\1", + "scriptSrc": "/htmx\\.org@([\\d\\.]+)\\;version:\\1", "oss": true, "website": "https://htmx.org" },