katagaki / Unagent

User agent changer for Safari
28 stars 7 forks source link

Wildcard support #15

Open Cassian-Andor opened 11 months ago

Cassian-Andor commented 11 months ago

Hi. Is it planned to support wildcards for domains, for example *.apple.com, then the user agent is set to whatever I want across the main domain and subdomains? I think it can be useful as many sites use subdomains for assets etc, and sometimes if the agent doesn't match all of them, funky things happen. Maybe icon could be fetched from main domain.

katagaki commented 11 months ago

Hey Cassian!

I have no such feature planned at the moment, but it could be something that will be useful, so I am leaving this issue open for now.

katagaki commented 4 months ago

Hey @Cassian-Andor !

It appears wildcard support was baked into the app from the start, but you will have to define 2 different entries for the website, one for the root (e.g. hostname.jp), and one for its subdomains (e.g. *.hostname.jp), depending on how it was configured.

Do let me know if that helps.