krober / contain-amazon

Automatic Amazon Containerization for Firefox
Mozilla Public License 2.0
11 stars 11 forks source link

Build National & Other TLD Domains Where Applicable #5

Open krober opened 5 years ago

krober commented 5 years ago

Currently, "amazon", "audible", and "wholefoodsmarket" include explicit TLDs. For the sake of maintenance and ease of adding new domains, these TLDs could be appended dynamically.

I'm not sure if this would be considered an expensive operation depending on when the browser actually executes the extension's code - need to research.

Also, using this method would make the assumption that Amazon owns all listed TLDs for "wholefoodsmarket" for instance, or could potentially containerize sites not actually owned by Amazon. This is probably a safe assumption for National TLDs, maybe not for others.