Skip to content

Is it possible to filter which links get a Hint box? #1606

Answered by avisaiwe
avisaiwe asked this question in Q&A
Discussion options

You must be logged in to vote

I was eventually able to stumble onto the solution, the method is documented here
https://github.com/brookhong/Surfingkeys/blob/master/docs/API.md#hintscreate

attrs object needs to be an array with boolean flags set

Hints.create("", Hints.dispatchMouseClick, {tabbed: true, active: false});

NOTE: when trying to apply attrs, cssSelector logic breaks with multipleHits/tabbed provided, opened up issue here
#1678

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by avisaiwe
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant