Jump to content

Recommended Posts

Posted

https://github.com/Shurelol/Emby.CustomCssJS

EmbyCustomJS_Css

  • Note the risk of cross-site scripting attacks
  • This plugin is based on mediabrowser.server.core 4.8.0.24-beta

 

  • Admin page
    • Provide scripts for All users, User can choose to use it or not unless the script is forced onphoto_2023-05-14_21-45-18.jpg.45efae87a0e4d1353ce9c6783b3567d5.jpg
  • User page
    • Choose to use scripts provided by the admin or not
    • Write own scripts, which are stored in localStorage
    •  The state of scripts is stored in localStorage, if there is an error, you can reset itphoto_2023-05-14_21-45-22.jpg.19861b1860630d39b150518cc22334f8.jpg

 

  • Like 3
  • Thanks 3
Posted

How to use 

if there is a bug, please let me know.

Thanks for you opinion and suggestion.

Posted

The script loading situation showed in the console

image.png.88d596c6dff77458bf978af60dc5983a.png

Posted
  • State config of Server Scripts stored in localStorage, key: customcssServerConfig_${sercerID} and customjsServerConfig_${sercerID}
  • State config of Local Scripts stored in localStorage, key: customcssLocalConfig and customjsLocalConfig
  • If error occurred, del these data in localStorage
Posted

ace Code Editor is provided now

photo_2023-05-16_22-16-26.jpg.79f25af63ae1dea6806e8d8fd4247e5f.jpg

DFergFLA
Posted

Hey there, sorry for such a stupid question.  I am new to Emby, been using it about a day.  I am interested in this plugin but can't seem to find it.  how do I install it?

 

Thanks

 

Donald

Posted
12 hours ago, DFergFLA said:

Hey there, sorry for such a stupid question.  I am new to Emby, been using it about a day.  I am interested in this plugin but can't seem to find it.  how do I install it?

 

Thanks

 

Donald

How to use

Introduction

Posted

Hello,

Thanks for this great plugin, would you have some examples like your carousel as well as your external player. This would allow me to be inspired by what you have done to start developing a few things.

Other question, if I understood correctly when we apply CustomJS on clients, it is necessary that each client does it?

Is there a way to make JS be displayed on my iOS phone for example?

Posted

https://t.me/embycustomcssjs

this telegram channel share scripts that can use can be used by the plugin

I have no develop experience on IOS and just suggest that modify your client refer to the changement on Android

On 5/23/2023 at 12:41 AM, Thuzad said:

Hello,

Thanks for this great plugin, would you have some examples like your carousel as well as your external player. This would allow me to be inspired by what you have done to start developing a few things.

Other question, if I understood correctly when we apply CustomJS on clients, it is necessary that each client does it?

Is there a way to make JS be displayed on my iOS phone for example?

  • Like 2
  • 2 weeks later...
  • 1 month later...
  • 2 weeks later...
newday2022
Posted

well done,I like it,thanks.

  • 9 months later...
Posted

这个项目非常不错,已经可以在苹果与安卓还有电脑的客户端使用不知道在tv客户端能做到修改使用吗?

  • 1 year later...
Posted (edited)
8 hours ago, Nebula_01 said:

Will this work with Emby 4.9?

When you enter the linked telegram-channel you'll find couple pinned posts. 
There is one with "emby-swiper & emby-swiper-trailer". 
In the comments under this post people are posting fixes for 4.9. 
It's pretty recent (yesterday) and they are in chinese which i do not understand, so i can give no guarantee. ^^

And also this always goes: 

On 5/14/2023 at 3:55 PM, shure said:
  • Note the risk of cross-site scripting attacks

 

Edited by Suliamu
  • Like 1

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...