Makes Twitter Bootstrap test more restrictive

This should stop a lot of false positives for Twitter Bootstrap.
It ensures that the CSS clause is within a `href` attribute of a `<link>` tag and also that the only things between 'bootstrap' and '.css' is an optional `.min`.
main
GreenImp 11 years ago
parent a346674f7c
commit fdd2929514

@ -2566,7 +2566,7 @@
"website": "twitter.github.com/bootstrap",
"cats": [ 18 ],
"script": "(?:twitter\\.github\\.com/bootstrap|bootstrap(?:\\.js|\\.min\\.js))",
"html": "<link[^>]+bootstrap[^>\"]+css",
"html": "<link.+?href=\"[^\"]+bootstrap(\\.min)?\\.css",
"env": "^Twipsy$\\;confidence:50"
},
"Typekit": {

Loading…
Cancel
Save