sidebery
sidebery copied to clipboard
Add option to only match on domain name
Description
The current substring matches on any part of the URL. For example, if I have a rule to reopen tabs for target.com in the shopping container Sidebery also opens links to techtarget.com in shopping. I can't find any documentation on how to do this with RegEx and my experiments so far have all failed.
It would be most helpful if I could just specify that anything going to a certain domain or subdomain gets reopened in the specified container. Having to wrangle RegEx to do this and add it to nearly every rule is cumbersome at best.
Edit: I figured out the RegEx I needed for the above example: /.*\Wtarget\.com.*/
That matches target.com and not techtarget.com. It's still a pain to go back and edit a bunch of rules to add this.
As a workaround, you can now use "site config" popup (check context menu editor if this option not there):
- Open context menu on target tab
- Configure site...
- Domain name automatically used as match rule
But I should also allow users to input "target.com" and automatically (or manually by clicking on a button) convert it to working match regex.