ShareLinks: hide add-to-playlist/collection via robust JS match
The CSS data-id selector wasn't reliably hiding the action-sheet item in guest sessions, so add a JS pass (part of the lockdown refresh) that matches menu items by data-id, localized visible text, and icon, and hides them with an inline style. The action sheet is added on menu open, which the existing mutation observer already picks up.
Cette révision appartient à :
+1
-1
@@ -13,7 +13,7 @@
|
||||
"changelog": "Initial release: ShareLink button on the item menu, temporary guest users confined by tag policy, expiring one-use links, admin dashboard with revoke, and a configurable guest lockdown that hides tag/genre/studio/cast links, the add-to-playlist and add-to-collection actions, and other plugins' UI.",
|
||||
"targetAbi": "10.11.0.0",
|
||||
"sourceUrl": "https://github.com/Franciskid/jellyfin-plugin-sharelinks/releases/download/v1.0.0.0/sharelinks_1.0.0.0.zip",
|
||||
"checksum": "992bec11d21d0c4c1823ec32a7d325df",
|
||||
"checksum": "b9d94ddab91e7078046711b77d6ef18b",
|
||||
"timestamp": "2026-07-07T00:00:00Z"
|
||||
}
|
||||
]
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur