diff --git a/src/module/pluginStore.js b/src/module/pluginStore.js index ee7f7bf..b4557fa 100644 --- a/src/module/pluginStore.js +++ b/src/module/pluginStore.js @@ -36,7 +36,7 @@ export class pluginStore { */ static load(name) { if (/^https?:\/\//.test(name)) { - mw.loader.load(name) + mw.loader.load(name, /\.css$/i.test(name) ? 'text/css' : undefined) console.info('[InPageEdit] 从远程加载非官方插件', name) } else { loadScript(pluginCDN + '/plugins/' + name).then(