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

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

@sirn

Description

@sirn

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

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions