-
-
Notifications
You must be signed in to change notification settings - Fork 485
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
regex for disabling (or just programmatic disabling on the page) #63
Comments
Added it in ca4220c Please add setting as below
To delete the pattern:
|
thanks! this is good enough for my problem, which was wildcard subdomains. but i do still think a list/function would be a bit nicer! |
Is there a smart way to split this regex over multiple lines to blacklist more than one site? |
I agree with @HaleTom. We need settings.blacklistPatterns. |
I'm using:
This can be used multiple times. |
It's possible to string together multiple patterns using pipe | as a separator. I figured that out from this gist showing some kind soul's settings: https://gist.github.com/thameera/8c846c48fd1c9f859cf602931e18a502 Their example:
My settings to make Surfingkeys play nice with KeyPass on login pages:
I've also learned that it seems this setting is kept somewhere outside the visible Surfkeys settings and can get messed up if you enter stuff wrong, at which point you'll need to do a Also don't forget to escape / characters (ex. |
@lee-tts this works because |
Shouldn't we also escape the |
Good point. It depends how explicit you want to be. There might be some edge cases where using |
Note that this has changed to |
I just found this extension and it's great! there's one thing I miss, though, which is being able to specify a domain to disable on, rather than a page.
I think I'd like a function which sets/toggles whether surfingKeys is active. i.e. when called, it disables everything in surfingkeys except the hotkey to re-enable it. It should be more or less whatever
Alt-s
is mapping to.ideally i could then write stuff in the configuration like
The text was updated successfully, but these errors were encountered: