dark mode for basilisk.

Board for discussions around the Basilisk web browser.

Moderator: satrow

User avatar
Moonraker
Keeps coming back
Keeps coming back
Posts: 878
Joined: Wed, 30 Sep 2015, 23:02
Location: Lincolnshire.UK.

dark mode for basilisk.

Unread postby Moonraker » Fri, 18 May 2018, 19:40

dark mode extension will not install in basilisk and get a corrupted error however it installed before.
https://addons.mozilla.org/en-US/firefo ... extension/

Can anyone suggest an extension similar which works because white screens on a website annoy me very much and like the dark effect.
Slacko puppy linux 64bit.
Pale moon 27.9.0

GMforker
Astronaut
Astronaut
Posts: 537
Joined: Thu, 27 Aug 2015, 06:29
Location: Czech Republic

Re: dark mode for basilisk.

Unread postby GMforker » Fri, 18 May 2018, 20:43

See issue 373. This will be solved.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22013
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: dark mode for basilisk.

Unread postby Moonchild » Fri, 18 May 2018, 22:25

This will not be solved in the browser side. Quit making decisions for me, GMForker.

WebExtensions MUST have an extension ID if they are going to be compatible with UXP. It takes little effort on the extension dev's side to do so and saves us an architectural nightmare.

The extension dev can solve this by adding an ID.
Last edited by Moonchild on Fri, 18 May 2018, 22:29, edited 2 times in total.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

User avatar
Moonraker
Keeps coming back
Keeps coming back
Posts: 878
Joined: Wed, 30 Sep 2015, 23:02
Location: Lincolnshire.UK.

Re: dark mode for basilisk.

Unread postby Moonraker » Fri, 18 May 2018, 23:50

When i initially installed the first version of basilisk the forementioned extension installed with no issues,then because of a knackered profile i had to reinstall basilisk and now dark mode comes up with this corrupted stuff.Something must have changed in between and i dont know what it is.I cannot use it until i have a dark mode extension of some description installed.
Slacko puppy linux 64bit.
Pale moon 27.9.0

GMforker
Astronaut
Astronaut
Posts: 537
Joined: Thu, 27 Aug 2015, 06:29
Location: Czech Republic

Re: dark mode for basilisk.

Unread postby GMforker » Sat, 19 May 2018, 04:50

Moonchild wrote:Quit making decisions for me, GMForker.

This change between moebius and UXP is surprising.

But it's not my thing. Of course. I'm sorry.

User avatar
adesh
Astronaut
Astronaut
Posts: 564
Joined: Tue, 06 Jun 2017, 07:38

Re: dark mode for basilisk.

Unread postby adesh » Sun, 20 May 2018, 09:43

Moonraker wrote:When i initially installed the first version of basilisk the forementioned extension installed with no issues,then because of a knackered profile i had to reinstall basilisk and now dark mode comes up with this corrupted stuff.Something must have changed in between and i dont know what it is.I cannot use it until i have a dark mode extension of some description installed.

Maybe you can hack the extension to include an ID, should be simple enough. But you have to be aware of licensing implications, if any.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22013
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: dark mode for basilisk.

Unread postby Moonchild » Sun, 20 May 2018, 09:52

Off-topic:
GMforker wrote:But it's not my thing. Of course. I'm sorry.

I apologize, myself -- I didn't mean to snap at you; I thought you were part of the discussion that was held about this (or at least informed about it), but maybe you weren't.
It's one of the few design choices that are different in Take2; we want to do things a little bit more organized and put down some ground rules to prevent as much of a mess as mozilla has let the add-on scene turn into with its muddle of 4 technologies each with their own exceptions to established design.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

User avatar
Moonraker
Keeps coming back
Keeps coming back
Posts: 878
Joined: Wed, 30 Sep 2015, 23:02
Location: Lincolnshire.UK.

Re: dark mode for basilisk.

Unread postby Moonraker » Sun, 20 May 2018, 11:13

I think a working dark mode extension would be welcomed by most users.
Slacko puppy linux 64bit.
Pale moon 27.9.0

GMforker
Astronaut
Astronaut
Posts: 537
Joined: Thu, 27 Aug 2015, 06:29
Location: Czech Republic

Re: dark mode for basilisk.

Unread postby GMforker » Sun, 20 May 2018, 12:38

Off-topic:
Moonchild wrote:I thought you were part of the discussion that was held about this (or at least informed about it), but maybe you weren't.

OK, thank you. Now it's clearer for me.
And yes, I did not have this information (but also... I did this of my own decision).

User avatar
Macca
Hobby Astronomer
Hobby Astronomer
Posts: 26
Joined: Tue, 28 Apr 2015, 20:18

Re: dark mode for basilisk.

Unread postby Macca » Sun, 20 May 2018, 19:50

Moonraker wrote:I think a working dark mode extension would be welcomed by most users.


You can try this (I can vouch for it, works just fine in Basilisk):
JustOff wrote:
Latitude wrote:A tutorial to hack that extension so I could use version 0.5.11?

Save 0.5.11 xpi, rename it to zip, extract, open file lib\ui\sdk-togglebutton-with-panel.js and change

Code: Select all

if (versionInRange(platformVersion, '30', '9999'))

to

Code: Select all

//if (versionInRange(platformVersion, '30', '9999'))

Delete META-INF folder, zip all files back, rename to xpi.

The rest of the discussion can be found here.
If you need any extra help with it, feel free to PM me.

Obviously, I would prefer to use something properly supported, like JustOff's fork, Advanced Night Mode for Pale Moon, but I guess that will have to wait for a proper Basilisk Add-ons section/site.

User avatar
Moonraker
Keeps coming back
Keeps coming back
Posts: 878
Joined: Wed, 30 Sep 2015, 23:02
Location: Lincolnshire.UK.

Re: dark mode for basilisk.

Unread postby Moonraker » Sun, 20 May 2018, 21:56

Thanks but that seems too much hassle,Is there ANY known working dark mode extension for basilsik at all please?.I really like this browser but without a dark mode extension it will be irritating as hell.
Last edited by Moonraker on Sun, 20 May 2018, 21:57, edited 1 time in total.
Slacko puppy linux 64bit.
Pale moon 27.9.0

User avatar
Thehandyman1957
Board Warrior
Board Warrior
Posts: 1617
Joined: Tue, 19 May 2015, 02:26
Location: Arizona U.S.

Re: dark mode for basilisk.

Unread postby Thehandyman1957 » Mon, 21 May 2018, 03:31

I'm not sure if this will help you or not, but I have real issues with high contrast "black text on white backgrounds"
and because of that I use this add on "Color That Site! 0.16.1-signed" and it allows me to change web pages
and even the whole domain if I want it to.

Take this site before.
Screenshot - 5_20_2018 , 8_20_37 PM.png

And after.
Screenshot - 5_20_2018 , 8_23_37 PM.png

Or even this.
1.jpg


You can change just about any part of a web site with it.
But it does take a minute to change those settings but one done, it will remember
those settings for that site, page or domain.

I like it because it's so flexible and it does work in Basilisk as I just tested it.
It is not able to do this as a blanket fix as it must examine the page before editing.
But honestly, I could not use the web without it.

Just a thought. :mrgreen:
Last edited by Thehandyman1957 on Mon, 21 May 2018, 03:47, edited 1 time in total.
"A common mistake people make when trying to design something
completely FOOLPROOF, is underestimating the ingenuity of complete FOOLS! ;) "

Latitude
Astronaut
Astronaut
Posts: 595
Joined: Mon, 21 Mar 2016, 18:28

Re: dark mode for basilisk.

Unread postby Latitude » Mon, 28 May 2018, 11:44

Moonchild wrote:WebExtensions MUST have an extension ID if they are going to be compatible with UXP. It takes little effort on the extension dev's side to do so and saves us an architectural nightmare.


Firefox Quantum is an architectural nightmare then.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 22013
Joined: Sun, 28 Aug 2011, 17:27
Location: 58.5°N 15.5°E
Contact:

Re: dark mode for basilisk.

Unread postby Moonchild » Mon, 28 May 2018, 12:23

Latitude wrote:
Moonchild wrote:WebExtensions MUST have an extension ID if they are going to be compatible with UXP. It takes little effort on the extension dev's side to do so and saves us an architectural nightmare.


Firefox Quantum is an architectural nightmare then.

Thank you, Captain Obvious.
Improving Mozilla code: You know you're on the right track with code changes when you spend the majority of your time deleting code.

"If you want to build a better world for yourself, you have to be willing to build one for everybody." -- Coyote Osborne

User avatar
Moonraker
Keeps coming back
Keeps coming back
Posts: 878
Joined: Wed, 30 Sep 2015, 23:02
Location: Lincolnshire.UK.

Re: dark mode for basilisk.

Unread postby Moonraker » Mon, 28 May 2018, 12:38

This one works with basilisk just fine.
https://addons.mozilla.org/en-US/firefo ... src=search
Slacko puppy linux 64bit.
Pale moon 27.9.0


Return to “Basilisk”

Who is online

Users browsing this forum: No registered users and 1 guest