Open fish-404 opened 2 years ago
Inspired by this post[^1], maybe I can use DNS lookup API like Google JSON API [^2] (type para reference[^3]) to check if there is a record called hosting.gitbook.com
, then use Tampermonkey scripts to apply style.
[^1]: Use DNS TXT lookup to gain quick insights which services companies are using - AllAgora [^2]: JSON API for DNS over HTTPS(DoH) | Public DNS | Google Developers [^3]: Domain Name System (DNS) Parameters
Seems Git Book allow users use their custom domain to publish Git Book. The dark style can't easily use stylus domain match / regex match rule to apply.