Fix #1325 - BigCommerce is wrongly detected

Remove the "env" property that could incorrectly match a function in the global scope. Removed the trailing 'v' from the "script" and "html" entries that looks for the BigCommerce CDN paths since they can begin with letters other than 'v' like 's' in the to examples below.

Check against the following URLs :
https://shopmonarch.averydennison.com/
http://shop.panthers.com/
main
Andre Fortin 8 years ago committed by GitHub
parent 5003ee3a7a
commit 2e1541534c

@ -822,10 +822,9 @@
"cats": [
6
],
"env": "^compareProducts$",
"html": "<link href=[^>]+cdn\\d+\\.bigcommerce\\.com/v",
"html": "<link href=[^>]+cdn\\d+\\.bigcommerce\\.com/",
"icon": "Bigcommerce.png",
"script": "cdn\\d+\\.bigcommerce\\.com/v",
"script": "cdn\\d+\\.bigcommerce\\.com/",
"url": "mybigcommerce\\.com",
"website": "www.bigcommerce.com"
},
@ -9601,4 +9600,4 @@
"51": "Landing Page Builders",
"52": "Live Chat"
}
}
}

Loading…
Cancel
Save