From 0d153d08f351be855618252f3cea41a832d3b906 Mon Sep 17 00:00:00 2001 From: Elbert Alias <77259+AliasIO@users.noreply.github.com> Date: Mon, 17 Jul 2023 11:55:24 +1000 Subject: [PATCH] Fix PrestaShop detection --- src/drivers/webextension/js/driver.js | 2 +- src/technologies/p.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/drivers/webextension/js/driver.js b/src/drivers/webextension/js/driver.js index c5fa8b67f..32867b562 100644 --- a/src/drivers/webextension/js/driver.js +++ b/src/drivers/webextension/js/driver.js @@ -17,7 +17,7 @@ const expiry = 1000 * 60 * 60 * 48 const maxHostnames = 100 const hostnameIgnoreList = - /\b((local|dev(elop(ment)?)?|sandbox|stag(e|ing)?|preprod|production|preview|test(ing)?|[^a-z]demo(shop)?|cache)[.-]|dev\d|localhost|((wappalyzer|google|bing|baidu|microsoft|duckduckgo|facebook|adobe|twitter|reddit|yahoo|wikipedia|amazon|amazonaws|youtube|stackoverflow|github|stackexchange|w3schools|twitch)\.)|(live|office|herokuapp|shopifypreview)\.com|\.local|\.test|\.netlify\.app|web\.archive\.org|zoom\.us|^([0-9.]+|[\d.]+)$|^([a-f0-9:]+:+)+[a-f0-9]+$)/ + /\b((local|dev(elop(ment)?)?|sandbox|stag(e|ing)?|preprod|production|preview|test(ing)?|[^a-z]demo(shop)?|cache)[.-]|dev\d|localhost|((wappalyzer|google|bing|baidu|microsoft|duckduckgo|facebook|adobe|twitter|reddit|yahoo|wikipedia|amazon|amazonaws|youtube|stackoverflow|github|stackexchange|w3schools|twitch)\.)|(live|office|herokuapp|shopifypreview)\.com|\.local|\.test|\.netlify\.app|ngrok|web\.archive\.org|zoom\.us|^([0-9.]+|[\d.]+)$|^([a-f0-9:]+:+)+[a-f0-9]+$)/ const xhrDebounce = [] diff --git a/src/technologies/p.json b/src/technologies/p.json index 7b1be6b50..8495b3ee7 100644 --- a/src/technologies/p.json +++ b/src/technologies/p.json @@ -2739,10 +2739,10 @@ "MySQL" ], "js": { - "freeProductTranslation": "\\;confidence:25", + "freeProductTranslation": "\\;confidence:40", "prestashop": "", - "priceDisplayMethod": "\\;confidence:25", - "priceDisplayPrecision": "\\;confidence:25", + "priceDisplayMethod": "\\;confidence:40", + "priceDisplayPrecision": "\\;confidence:40", "rcAnalyticsEvents.eventPrestashopCheckout": "" }, "meta": {