-
Is it possible to filter links hints by say a css selector/xpath/url regex or the like? To only have a subsection of them selectable? |
Beta Was this translation helpful? Give feedback.
Answered by
avisaiwe
Feb 23, 2022
Replies: 1 comment
-
I was eventually able to stumble onto the solution, the method is documented here attrs object needs to be an array with boolean flags set NOTE: when trying to apply attrs, cssSelector logic breaks with multipleHits/tabbed provided, opened up issue here |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
avisaiwe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
Surfingkeys/src/content_scripts/common/default.js
Line 53 in 0a608e3
NOTE: when trying to apply attrs, cssSelector logic breaks with multipleHits/tabbed provided, opened up issue here
#1678