Merge pull request #4776 from hommels/master

Fixed the hint example for matching on the comment collapsers on Hacker News
This commit is contained in:
Oliver Blanthorn 2023-10-09 07:06:47 +00:00 committed by GitHub
commit c6eb36a5ce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -5123,7 +5123,7 @@ const KILL_STACK: Element[] = []
Element selection flags:
- -c [selector] hint links that match the css selector
- `bind ;c hint -c [class*="expand"],[class="togg"]` works particularly well on reddit and HN
- `bind ;c hint -c [class*="expand"],[class*="togg"]` works particularly well on reddit and HN
- this works with most other hint modes, with the caveat that if other hint mode takes arguments your selector must contain no spaces, i.e. `hint -c[yourOtherFlag] [selector] [your other flag's arguments, which may contain spaces]`
- -x [selector] exclude the matched elements from hinting
- -f [text] hint links and inputs that display the given text