Releases: n00bcodr/Jellyfin-JavaScript-Injector
Releases · n00bcodr/Jellyfin-JavaScript-Injector
Use File-transformation Plugin as default "injection" method
- This plugin now uses file-transformation plugin to serve the javascript without modifying the index.html as default method, if file-transformation does not exist, it does fallback to regular injection
- It is highly recommended to have file-transformation plugin installed.
Version fix
- version fix
Improve script injection block handling and cleanup
- Wrap the injected script block with clear HTML comments for safer and more reliable identification.
- Update removal logic to use specific regex patterns for injection formats, ensuring idempotent upgrades and preventing accidental removal of unrelated scripts.
Fix for #3 ?
Add authentication requirement
Introduces a 'Requires Authentication' option for scripts, allowing scripts to be loaded only for authenticated users. Updates the configuration UI to support the new option, splits script loading into public and private endpoints, and updates the injection logic to load scripts accordingly.
Support multiple scripts and dynamic injection
Add support for multiple scripts and dynamic injection This is a complete rewrite of the plugin.