From df73df40cbc1aae84901e8f9148a474ad9f2b12e Mon Sep 17 00:00:00 2001 From: Jason Miller Date: Thu, 16 Sep 2021 10:57:56 -0400 Subject: [PATCH] Implement actual Preact detection The detection added in #4056 was looking for [preact-helmet](https://www.npmjs.com/package/preact-helmet), a very specific library that is not a proxy for Preact usage. --- src/technologies/p.json | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/technologies/p.json b/src/technologies/p.json index 7f5a7a5d6..dddb3a8f7 100644 --- a/src/technologies/p.json +++ b/src/technologies/p.json @@ -1263,7 +1263,13 @@ 59 ], "description": "Preact is a JavaScript library that describes itself as a fast 3kB alternative to React with the same ES6 API.", - "dom": "meta[data-preact-helmet='true']", + "dom": { + "#app, .app, #root, .root, body, body > *, body > * > *, body > * > * > *": { + "properties": { + "__k": "" + }, + } + }, "icon": "Preact.svg", "oss": true, "website": "https://preactjs.com" @@ -1909,4 +1915,4 @@ }, "website": "http://punbb.informer.com" } -} \ No newline at end of file +}