Commit 83381d58 authored by wangmingming's avatar wangmingming

Merge remote-tracking branch 'origin/test' into test

parents 4394e96d f11445fa
......@@ -28,3 +28,16 @@ for (let i = 0; i < plugins.length; i++) {
plgs[i] = pi
}
let mimes = navigator.mimeTypes
let res = [];
let r = Object.getOwnPropertyNames(mimes);
for (let i = 0; i < r.length; i++) {
let a = mimes[r[i]];
res.push({
suffixes:a.suffixes,
type: a.type,
enabledPlugin: {
filename: a.enabledPlugin.filename
}
})
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment