userstyles
userstyles copied to clipboard
ci: add script to generate dark reader ignore configuration
This creates a dark-reader.ts that traverses the entire repository to create exclusion rules for dark reader. Initially written in python, rewritten in deno following popular demand. This still breaks on anything more complex than a bare domain, (probably) due to escaping shenanigans with regex. eg: google.com is broken, but mail.google.com works.
Basically #962, without the stupid pull bot messing up things. Ill squash the commits later.