Skip to content

Commit

Permalink
passEsc: add gitlab quick open
Browse files Browse the repository at this point in the history
  • Loading branch information
gdh1995 committed Aug 15, 2024
1 parent 78bdda8 commit 2b41421
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion _locales/en/messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@
"#read-only-cursor-text-area,.monaco-mouse-cursor-text[aria-autocomplete=none],.CodeMirror>div>textarea[readonly=''][style]"
},
"121": { "message":
"[aria-controls],[role=combobox],#kw.s_ipt,input[placeholder$$=搜索],input[type=search][name=q],.monaco-inputbox>div>textarea[style]"
"[aria-controls],[role=combobox],#kw.s_ipt,input[placeholder$$=搜索],input[type=search][name=q],input[role=searchbox],.monaco-inputbox>div>textarea[style]"
},
"200": { "message": "http://www.w3.org/1999/xhtml" },
"0": { "message": "Open link in current tab" },
Expand Down
1 change: 1 addition & 0 deletions background/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,6 +383,7 @@ [email protected]`
|| "[aria-controls],[role=combobox],#kw.s_ipt" // MS Bing / Google / Baidu
+ ",input[placeholder$=\u641c\u7d22]" // some Chinese websites
+ ",input[type=search][name=q]" // Bing search result page
+ ",input[role=searchbox]" // Gitlab Quick Open by "/"
+ ",.monaco-inputbox>div>textarea[style]" // Monaco find input
,
preferBrowserSearch: true,
Expand Down

0 comments on commit 2b41421

Please sign in to comment.