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 à :
+6
-5
@@ -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
|
||||
|
||||
|
||||
Référencer dans un nouveau ticket
Bloquer un utilisateur