Skip to content
This repository was archived by the owner on Nov 15, 2017. It is now read-only.

Support per-domain scope (in addition to per-site and global) #90

Closed
gorhill opened this issue Dec 16, 2013 · 1 comment
Closed

Support per-domain scope (in addition to per-site and global) #90

gorhill opened this issue Dec 16, 2013 · 1 comment

Comments

@gorhill
Copy link
Owner

gorhill commented Dec 16, 2013

Example: https://*.google.com

Need to think of a UI to allow that easily. Maybe instead of the currently botched top left icon, a kind of drop down menu where the user chooses the scope, with three choices:

*
https://*.google.com
https://groups.google.com

Where:

Global scope = *
Per-domain scope = {scheme}://*.{domain}
Per-site scope = {scheme}://{hostname}

Than evaluation code would work like this:

{scheme}://{hostname} exists?
Yes : lookup rules and evaluate
No : {scheme}://*.{domain} exists?
Yes : lookup rules and evaluate
No : lookup global rules and evaluate
@gorhill
Copy link
Owner Author

gorhill commented Dec 24, 2013

Fixed in bdbee23

@gorhill gorhill closed this as completed Dec 24, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant