Skip to content

trusted-click-element #20098

Closed Answered by gorhill
dportvine asked this question in Q&A
Oct 15, 2023 · 1 comments · 1 reply
Discussion options

You must be logged in to vote
facebook.com##+js(trusted-click-element, [role="dialog"]:has(#login_popup_cta_form) [role="button"][aria-label])

Remove :has() for Firefox (might be more subject to false positive):

facebook.com##+js(trusted-click-element, [role="dialog"] [role="button"][aria-label])

The close button appears to always be the first one.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@dportvine
Comment options

Answer selected by dportvine
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants