Skip to content

Is it possible to do a shift+click on an element with Vimium-C ? #1045

Answered by gdh1995
acelticsfan asked this question in Q&A
Discussion options

You must be logged in to vote

Um, LinkHints.activate has no parameter to "always do a click with Shift=pressed, but there's indeed a parameter to achieve this effect "most of time" - try newtab="window"`:

map c LinkHints.click direct="element" match=".show-more-comments-tabpanel" newtab="window"

BTW, I'm not sure why you used mode=37.

  • 37 is to open an image, but in this case the target is a standard button
  • mode: number is not suggested although it does work now. Instead, its official usage is mode: string, and allowed values are:
    const hintModes_: SafeDict<HintMode> = {
    __proto__: null as never,
    newtab: HintMode.OPEN_IN_NEW_BG_TAB, q…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by acelticsfan
Comment options

You must be logged in to vote
0 replies
Comment options

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

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