ShareLinks: disable tag links, actually hide add-to-playlist/collection

The movie detail page's Tags section lives in its own .itemTags container,
not inside .detailsGroupItem like genres/studios/cast, so tag chips stayed
clickable for guests. Disable those links too.

The add-to-playlist and add-to-collection entries in the item's "..."
menu render with data-id="playlist"/data-id="addtocollection", not
data-action="addtoplaylist"/"addtocollection" as previously assumed —
that selector matched an unrelated list-row button and never hid the
actual menu items. Target the correct attribute so both are hidden.

Also drop the specific plugin name from the guest-hidden-selectors
description in favor of generic wording; the default selector value
is unchanged.
Cette révision appartient à :
Franciskid
2026-07-07 09:05:18 +02:00
Parent 1f7928527e
révision ceb3c03c87
5 fichiers modifiés avec 17 ajouts et 12 suppressions
+6 -5
Voir le fichier
@@ -62,11 +62,12 @@ gone.
## Hiding other plugins from guests
If you run other plugins that inject their own UI into the web client (a search
bar, a floating button), you probably do not want a guest to see them. The
**Guest hidden selectors** setting is a comma-separated list of CSS selectors
that get hidden in guest sessions. It ships with a default that hides the
[AI Search](https://github.com/Franciskid) button; add any other plugin's
selector and it disappears for guests too, no code change needed.
bar, a floating button), you probably do not want a guest to see them. I had
exactly that problem with a different plugin of mine, so the **Guest hidden
selectors** setting is a comma-separated list of CSS selectors that get hidden
in guest sessions. It ships with a default that hides that plugin's floating
button and panel; add any other plugin's selector and it disappears for guests
too, no code change needed.
## Security stance