• Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below
  • Forum
  • Website
  • GitHub
  • Status
  • Translation
  • Features
  • Team
  • Rules
  • Help
  • Feeds
User Links
  • Login
  • Register
  • Login Register
    Login
    Username/Email:
    Password:
    Or login with a social network below

    Useful Links Forum Website GitHub Status Translation Features Team Rules Help Feeds
    Jellyfin Forum Development Plugin Development There is no way for a plugin to hook or alter index.html

     
    • 0 Vote(s) - 0 Average

    There is no way for a plugin to hook or alter index.html

    Invoking Cunninghams Law
    JellyHunter
    Offline

    Junior Member

    Posts: 28
    Threads: 3
    Joined: 2025 Jan
    Reputation: 0
    #5
    2025-01-25, 11:24 PM (This post was last modified: 2025-01-25, 11:25 PM by JellyHunter.)
    (2024-10-06, 08:52 AM)Namo Wrote: Hey,

    Just wanted to mention, that it is possible.
    I do it (copied it myself from Jellyscrub)
    https://github.com/Namo2/InPlayerEpisodePreview

    The general approach here is that you inject a new script tag into index.html on server start (can fail due to file permissions)
    You will bundle a js file with your dll containing every change etc.
    The script tag in index.html will call your controller/endpoint which will return the js scipt file from step 2

    Sry @SethBacon for disturbing your peacful sleep
    and @ devs for any question or problem that will come up because of plugins which do unsupported things
    You shouldn't have to say sorry for being creative and finding new ways and ideas to make Jellyfin even better, I salute you bro!
    « Next Oldest | Next Newest »

    Users browsing this thread: 1 Guest(s)


    Messages In This Thread
    There is no way for a plugin to hook or alter index.html - by SethBacon - 2024-06-18, 02:51 AM
    RE: There is no way for a plugin to hook or alter index.html - by crobibero - 2024-06-18, 03:20 AM
    RE: There is no way for a plugin to hook or alter index.html - by SethBacon - 2024-06-18, 04:11 AM
    RE: There is no way for a plugin to hook or alter index.html - by Namo - 2024-10-06, 08:52 AM
    RE: There is no way for a plugin to hook or alter index.html - by JellyHunter - 2025-01-25, 11:24 PM
    RE: There is no way for a plugin to hook or alter index.html - by Venson - 2025-01-26, 07:31 AM

    • View a Printable Version
    • Subscribe to this thread
    Forum Jump:

    Home · Team · Help · Contact
    © Designed by D&D - Powered by MyBB
    L


    Jellyfin

    The Free Software Media System

    Linear Mode
    Threaded Mode