- Copy
src\Emby.CustomCssJS.dll
toprogramdata\plugins
-
Server
- Copy
src\CustomCssJS.js
tosystem\dashboard-ui\modules
- modify
\system\dashboard-ui\app.js
-
Add
list.push("./modules/CustomCssJS.js"),
beforePromise.all(list.map(loadPlugin))
instart()
list.push("./modules/CustomCssJS.js"), Promise.all(list.map(loadPlugin))
-
- Copy
-
Desktop Client
- Copy
src\CustomCssJS.js
toelectronapp\plugins
- Copy
-
App (Android)
- Copy
src\CustomCssJS.js
toassets\www\modules
- modify
assets\www\app.js
-
Add
list.push("./modules/CustomCssJS.js"),
beforePromise.all(list.map(loadPlugin))
instart()
list.push("./modules/CustomCssJS.js"), Promise.all(list.map(loadPlugin))
-
- modify
assets\www\native\android\apphost.js
-
Set
features.restrictedplugins
tofalse
features.restrictedplugins = false;
-
- Copy
- State config of Server Scripts stored in
localStorage
, key:customcssServerConfig_${sercerID}
andcustomjsServerConfig_${sercerID}
- State config of Local Scripts stored in
localStorage
, key:customcssLocalConfig
andcustomjsLocalConfig
- If error occurred, del these data in
localStorage