Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
L
lcc-shape
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wangmingming
lcc-shape
Commits
f11445fa
Commit
f11445fa
authored
Aug 11, 2023
by
wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
反解析第一步成功
parent
59b52da6
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
+13
-0
get_all_plugins.js
env/get_all_plugins.js
+13
-0
No files found.
env/get_all_plugins.js
View file @
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
}
})
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment