Remove low confidence pattern js (#2181)

* Remove low confidence pattern js

They were doing a lot of noise with the extension on a lot of website.
+ Improve Select2 detection

* Update vue.js pattern

Change another pattern of Vue.js as suggested @jvoisin
main
Camille Barneaud 7 years ago committed by Elbert Alias
parent df1fbc0d64
commit fc6eadb86e

@ -2218,7 +2218,6 @@
25 25
], ],
"js": { "js": {
"d3": "\\;confidence:20",
"d3.version": "(.*)\\;version:\\1" "d3.version": "(.*)\\;version:\\1"
}, },
"icon": "D3.png", "icon": "D3.png",
@ -2746,7 +2745,6 @@
], ],
"icon": "ef.js.svg", "icon": "ef.js.svg",
"js": { "js": {
"ef": "\\;confidence:20",
"ef.version": "(.*)\\;version:\\1", "ef.version": "(.*)\\;version:\\1",
"efCore": "" "efCore": ""
}, },
@ -5108,7 +5106,6 @@
12 12
], ],
"js": { "js": {
"ko": "\\;confidence:20",
"ko.version": "(.*)\\;version:\\1" "ko.version": "(.*)\\;version:\\1"
}, },
"icon": "Knockout.js.png", "icon": "Knockout.js.png",
@ -8315,10 +8312,11 @@
12 12
], ],
"js": { "js": {
"Rx": "\\;confidence:20" "Rx.CompositeDisposable": "",
"Rx.Symbol": ""
}, },
"icon": "RxJS.png", "icon": "RxJS.png",
"script": "rx(?:\\.\\w+)?(?:\\.compat)?(?:\\.min)?\\.js", "script": "rx(?:\\.\\w+)?(?:\\.compat|\\.global)?(?:\\.min)?\\.js",
"website": "http://reactivex.io" "website": "http://reactivex.io"
}, },
"S.Builder": { "S.Builder": {
@ -8581,8 +8579,11 @@
], ],
"icon": "Select2.png", "icon": "Select2.png",
"implies": "jQuery", "implies": "jQuery",
"script": "select2.*\\.js", "js": {
"website": "http://select2.github.io" "jQuery.fn.select2": ""
},
"script": "select2(?:\\.min|\\.full)?\\.js",
"website": "https://select2.org/"
}, },
"Semantic-ui": { "Semantic-ui": {
"cats": [ "cats": [
@ -9058,12 +9059,13 @@
12 12
], ],
"js": { "js": {
"io.version": "(.*)\\;version:\\1\\;confidence:20" "io.Socket": "",
"io.version": "(.*)\\;version:\\1"
}, },
"icon": "Socket.io.png", "icon": "Socket.io.png",
"implies": "Node.js", "implies": "Node.js",
"script": "socket\\.io.*\\.js", "script": "socket\\.io.*\\.js",
"website": "http://socket.io" "website": "https://socket.io"
}, },
"Solodev": { "Solodev": {
"cats": [ "cats": [
@ -10464,8 +10466,7 @@
"icon": "Vue.js.png", "icon": "Vue.js.png",
"script": [ "script": [
"vue(?:\\-|\\.)([\\d.]*\\d)[^/]*\\.js\\;version:\\1", "vue(?:\\-|\\.)([\\d.]*\\d)[^/]*\\.js\\;version:\\1",
"/([\\d.]+)/vue(?:\\.min)?\\.js\\;version:\\1", "(?:/([\\d.]+))?/vue(?:\\.min)?\\.js\\;version:\\1"
"vue.*\\.js\\;confidence:20"
], ],
"website": "http://vuejs.org" "website": "http://vuejs.org"
}, },
@ -11356,11 +11357,11 @@
12 12
], ],
"js": { "js": {
"basket": "\\;confidence:20" "basket.isValidItem": ""
}, },
"icon": "basket.js.png", "icon": "basket.js.png",
"script": "basket.*\\.js\\;confidence:10", "script": "basket.*\\.js\\;confidence:10",
"website": "http://addyosmani.github.io/basket.js/" "website": "https://addyosmani.github.io/basket.js/"
}, },
"cPanel": { "cPanel": {
"cats": [ "cats": [