hirschan / Dark-Mode-Wikipedia

A Firefox extension, primarily suited for the English Wikipedia site.
https://addons.mozilla.org/firefox/addon/dark-mode-for-wikipedia/
MIT License
40 stars 8 forks source link

produces blank page on special pages (i.e. edit pages, preference pages) and does not function at all on meta pages (i.e. wikimedia pages) #55

Open bejuazun opened 1 month ago

bejuazun commented 1 month ago

seems to function normally outside of this, but if i have any preferences to change or would like to edit a page, i have to disable the add-on. i much prefer the style to wikipedias own dark mode, which doesnt even support those pages anyway. would like to see functionality extended.

hirschan commented 1 month ago

Hi, thank you for submitting! I will investigate and see what can be done as there are limitations, thanks!

hirschan commented 1 month ago

I tried editing a page myself and I have no issues with it. Could you specify what the issue is so that I can reproduce it and fix it?

An option is to disable the dark mode when editing a Wikipedia page or when visiting the preferences page by adding inside manifest.json:

"exclude_matches": ["*://*.wikipedia.org/*=edit", "*://*.wikipedia.org/*Preferences*"],

However, I need to think of this. For now, I only cover Wikipedia but maybe in the future we could cover other wiki-sites too, however it will require some work and right now my time is a bit limited. Will keep it in mind and see when I can continue working on it!