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

Support local files and protected pages #105

Open
mkoushan opened this issue Oct 18, 2024 · 3 comments
Open

Support local files and protected pages #105

mkoushan opened this issue Oct 18, 2024 · 3 comments
Labels
enhancement New feature or request Not an issue

Comments

@mkoushan
Copy link

mkoushan commented Oct 18, 2024

Sorry for creating a new issue, but I thought this won't require much effort and is quite different with enhancements listed in mentioned issue.

Simply the extension works great in darkening websites, even protected pages which come from the network. But for some reasons it won't make local pages dark. I think the streamline is different from the web content or something, I'm not sure.
Thanks!

@mkoushan mkoushan added the enhancement New feature or request label Oct 18, 2024
@Vintagemotors
Copy link
Collaborator

I assumed this worked with permissions allowed but you are correct that it does not (by default at least) as it is blocked by Firefox's security policy. You can try changing extensions.quarantinedDomains.enabled to false in about:config (made no difference in my testing) but I see people have the same issue with other extensions so it's not unique to UltimaDark. I do not see an appropriate permission available to correct this either (unless the "storage" permission grants access to the user's entire file system and not just the folder allocated by Firefox for the extension to use). docs

@mkoushan
Copy link
Author

mkoushan commented Oct 19, 2024

I assumed this worked with permissions allowed but you are correct that it does not (by default at least) as it is blocked by Firefox's security policy. You can try changing extensions.quarantinedDomains.enabled to false in about:config (made no difference in my testing) but I see people have the same issue with other extensions so it's not unique to UltimaDark. I do not see an appropriate permission available to correct this either (unless the "storage" permission grants access to the user's entire file system and not just the folder allocated by Firefox for the extension to use). docs

I have that settings disabled from Dark Reader extension. That time it had darken my local html files (I've downloaded cpp reference). Dark Reader makes it dark because it changes the css after the page gets loaded. But in Ultima you change it in the streamline before getting to gecko and I think that's why it don't work with local file. I guess the streamline with local html files are different, if I get time I'll look into it currently I'm really busy doing life.

@mkoushan
Copy link
Author

With or Without Ultima:
image

With Dark Reader:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request Not an issue
Projects
None yet
Development

No branches or pull requests

2 participants