Skip to content
This repository has been archived by the owner on Nov 6, 2018. It is now read-only.

User CSS should sanitize domain rules without HTTP protocol prefix #15

Open
sirn opened this issue Jul 8, 2010 · 1 comment
Open

User CSS should sanitize domain rules without HTTP protocol prefix #15

sirn opened this issue Jul 8, 2010 · 1 comment

Comments

@sirn
Copy link
Owner

sirn commented Jul 8, 2010

Otherwise it would be unexpected by the user when they see their CSS being applied to all sites. Warning message in the manager would be nice, too.

Ideas:

  • Bare domain (e.g. google.com) applies to:
    • http://google.com/*
    • https://google.com/*
    • http://*.google.com/*
    • https://*.google.com/*
  • Subdomain (e.g. www.google.com) applies to:
    • http://www.google.com/*
    • https://www.google.com/*
  • Subdomain and path (e.g. www.google.com/search) applies to:
    • Also follow the above rule.
    • http://www.google.com/search
    • https://www.google.com/search
@ssaadh
Copy link

ssaadh commented Sep 15, 2011

I like this idea. Even if it isn't possible to work without needing the protocol at the beginning of the address, a warning message would be good.

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

2 participants