-
I want to disable the '/' key on google, so it will default to going to the search bar on the page, instead of Surfingkey's find. I tried the following it doesn't work,
|
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
This works,
|
Beta Was this translation helpful? Give feedback.
-
there seems to be code for this with a commented example in the code here https://github.com/brookhong/Surfingkeys/blob/6d0ee1dfda4e5231920bda0a20996134d1e0ba29/src/content_scripts/common/api.js#LL163C9-L163C9 here is another example (note the absence of quotes in the domain name) |
Beta Was this translation helpful? Give feedback.
This works,
Reference,
https://stackoverflow.com/questions/2522532/how-can-i-use-javascript-to-match-a-string-inside-the-current-url-of-the-window