Need way to detect unlisted gallery

jfriendjfriend Registered Users Posts: 8,097 Major grins
I'm looking for a way (using JS or CSS) to detect an unlisted gallery when it's displayed so it can be modified automatically when it's unlisted. Does any such thing exist? Are there any internal SM JS variables that indicate whether the gallery being displayed is unlisted or not?

There's special text and a unique class assigned to that text in the breadcrumb when logged in, but that isn't there when not logged in so that doesn't work.

Any ideas?
--John
HomepagePopular
JFriend's javascript customizationsSecrets for getting fast answers on Dgrin
Always include a link to your site when posting a question

Comments

Sign In or Register to comment.