Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running single-file-cli with active "Dark Reader" extension #98

Open
emp-00 opened this issue Jun 18, 2024 · 1 comment
Open

Running single-file-cli with active "Dark Reader" extension #98

emp-00 opened this issue Jun 18, 2024 · 1 comment

Comments

@emp-00
Copy link

emp-00 commented Jun 18, 2024

I want to save html in "dark mode": My html website in question works fine with the Dark Reader extension: https://darkreader.org
Question: How can I ensure, that Dark Reader is active (with my user-settings) when running "single-file-cli" ?
(Note if relevant: I'm using Chrome and single-file.exe @win11)

@gildas-lormeau
Copy link
Owner

Sorry for the late reply, you could use your existing Chrome user profile (with the Dark Reader installed) by passing --browser-arg="--user-data-dir=..." where ... is the path to your Chrome user profile folder. An alternative would be to use --headless=new and --browser-arg= to pass the folder of the extension but I do not remember how to do it right now...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants