WebExtensions in Basilisk is so slow.

Board for discussions around the Basilisk web browser.

Moderator: Basilisk-Dev

Latitude

WebExtensions in Basilisk is so slow.

Unread post by Latitude » 2017-11-21, 11:06

For example, install "Dark Background and Light Text" add-on in Basilisk, then test it in Reddit because its slowness would be very visible - try reloading the page.

Does it happen in Firefox 57, too?

(I don't install it because of my computer's old spec - 1GB RAM, Core 2 Duo laptop)

JustOff

Re: WebExtensions in Basilisk is so slow.

Unread post by JustOff » 2017-11-21, 11:29

AFAIK, Basilisk supports only basic subset of WebExtensions API, so I'm not sure the WE version of "Dark Background and Light Text" is compatible with it.

Latitude

Re: WebExtensions in Basilisk is so slow.

Unread post by Latitude » 2017-11-21, 11:54

JustOff wrote:AFAIK, Basilisk supports only basic subset of WebExtensions API, so I'm not sure the WE version of "Dark Background and Light Text" is compatible with it.
Your add-on "Advanced Night Mode" is derived from it, right?

It's faster in Pale Moon + ANM than in Basilisk + DBLT.

Unfortunately, ANM from APO couldn't be installed in Basilisk.

JustOff

Re: WebExtensions in Basilisk is so slow.

Unread post by JustOff » 2017-11-21, 12:39

Try DBLT 0.5.11 and disable updates.

Latitude

Re: WebExtensions in Basilisk is so slow.

Unread post by Latitude » 2017-11-21, 13:01

JustOff wrote:Try DBLT 0.5.11 and disable updates.
Does it have a relation with Goanna rendering procedure?

JustOff

Re: WebExtensions in Basilisk is so slow.

Unread post by JustOff » 2017-11-21, 13:05

I don't understand what you mean, so let's say it's not 8-)

Latitude

Re: WebExtensions in Basilisk is so slow.

Unread post by Latitude » 2017-11-21, 13:12

JustOff wrote:Try DBLT 0.5.11 and disable updates.
Can be installed but not working for me. No toolbar button and nothing happens after I check "Enable" in its preferences page.

Does it work on your Basilisk?

Latitude

Re: WebExtensions in Basilisk is so slow.

Unread post by Latitude » 2017-11-21, 13:19

In the latest version of DBLT (WebExtensions), the toolbar pop-up would show "Modification of this page is not available due to Basilisk restrictions" sometimes in some webpages (especially in AMO pages).

Latitude

Re: WebExtensions in Basilisk is so slow.

Unread post by Latitude » 2017-11-21, 13:21

JustOff wrote:I don't understand what you mean, so let's say it's not 8-)
Maybe, WebExtensions only fully compatible with Quantum engine?

IDK for sure.

JustOff

Re: WebExtensions in Basilisk is so slow.

Unread post by JustOff » 2017-11-21, 13:49

Latitude wrote:
JustOff wrote:Try DBLT 0.5.11 and disable updates.
Can be installed but not working for me. No toolbar button and nothing happens after I check "Enable" in its preferences page.
Confirmed, I filled an Issue 198 for this.
Latitude wrote:Maybe, WebExtensions only fully compatible with Quantum engine?
These things are not directly related.

Latitude

Re: WebExtensions in Basilisk is so slow.

Unread post by Latitude » 2017-11-21, 14:16

JustOff wrote:
Off-topic:
BTW, From what add-on is Greedy Cache derived? I can't find Greedy Cache's equivalent add-on on AMO.

JustOff

Re: WebExtensions in Basilisk is so slow.

Unread post by JustOff » 2017-11-21, 14:24

Off-topic:
Latitude wrote:BTW, From what add-on is Greedy Cache derived? I can't find Greedy Cache's equivalent add-on on AMO.
Load from Cache + Force Images into Cache.

Latitude

Re: WebExtensions in Basilisk is so slow.

Unread post by Latitude » 2017-11-21, 14:30

JustOff wrote:
Off-topic:
You integrate both of them into one add-on?

JustOff

Re: WebExtensions in Basilisk is so slow.

Unread post by JustOff » 2017-11-21, 15:53

Off-topic:
Latitude wrote:You integrate both of them into one add-on?
Exactly.

Latitude

Re: WebExtensions in Basilisk is so slow.

Unread post by Latitude » 2017-11-22, 13:28

JustOff wrote:
JustOff, based on your observation, what makes the rendering of Reddit site quite slow if we activate DBLT WebExtensions add-on?

Have you tested this on Firefox 57?

Latitude

Re: WebExtensions in Basilisk is so slow.

Unread post by Latitude » 2017-11-22, 14:29

Downloaded Firefox 57 and it seemed the WE version of DBLT run faster in it. (Although, it consumed much more RAM; ~100MB more RAM than Basilisk did - and it was only for loading 4 tabs).

I hope Basilisk would catch up with Firefox soon in handling WE add-ons.

JustOff

Re: WebExtensions in Basilisk is so slow.

Unread post by JustOff » 2017-11-22, 15:00

Latitude wrote:JustOff, based on your observation, what makes the rendering of Reddit site quite slow if we activate DBLT WebExtensions add-on?
Actually, I have no idea.
Have you tested this on Firefox 57?
I don't use neither reddit nor DBLT.
I hope Basilisk would catch up with Firefox soon in handling WE add-ons.
As far as I know, there are no plans to improve WebExtensions support in Basilisk, because it's primarily intended for development of the XUL platform.

User avatar
Sajadi
Board Warrior
Board Warrior
Posts: 1226
Joined: 2013-04-19, 00:46

Re: WebExtensions in Basilisk is so slow.

Unread post by Sajadi » 2017-11-23, 10:36

Latitude wrote:I hope Basilisk would catch up with Firefox soon in handling WE add-ons.
That falls most likely again under the "patches are welcome" category as webextension support is for sure not the primary reason why Basilisk/UXP is available. Or you take a look to find someone who would be willing to help for stuff like that. Just saying, coding boards are a good resource for asking for help :wave:

dark_moon

Re: WebExtensions in Basilisk is so slow.

Unread post by dark_moon » 2017-12-01, 08:33

JustOff wrote:As far as I know, there are no plans to improve WebExtensions support in Basilisk, because it's primarily intended for development of the XUL platform.
Then i wonder why Basilisk was created.
Sure it is for users which want "new-web-stuff" but also addons are important and some addons are WE only now and i hoped Basilisk have full WE support.

New Tobin Paradigm

Re: WebExtensions in Basilisk is so slow.

Unread post by New Tobin Paradigm » 2017-12-01, 10:42

Then contribute to UXP to further improve webex support. The basic and experimental support is enabled in Basilisk because it is there. While primary development has no specific focus on the technology no one is opposed to improving it if that is what platform or Basilisk consumers, contributors, and users want.

Community projects, man! What a concept, eh?

Peace.

Locked