LibreJS not working with this site?

8 respostas [Última entrada]
Time4Tea
Desconectado
Joined: 07/16/2017

Hi. Whenever I enable LibreJS, I seem to be unable to load this site (trisquel.info); however, most other sites seem to load up (although possibly with some JS disabled). In fact, trying to connect to trisquel.info with LibreJS seems to completely crash Icecat and I have to restart it. Does anyone else have this problem or know why this is?

I'm using Icecat on Trisquel 7.

SuperTramp83

I am a translator!

Desconectado
Joined: 10/31/2014

>In fact, trying to connect to trisquel.info with LibreJS seems to completely crash Icecat

hehe, that's very lulzy considering Ruben is the one that is responsible for both :D

Time4Tea
Desconectado
Joined: 07/16/2017

Uh oh. Sounds like LibreJS is a bit *too* good! :D

ADFENO
Desconectado
Joined: 12/31/2012

Hm... Interesting... I remember that some months ago they had that fixed
in the website... I wonder what might be causing the problem. I'll try
to collect more useful information.

name at domain writes:

> Hi. Whenever I enable LibreJS, I seem to be unable to load this site
> (trisquel.info); however, most other sites seem to load up (although
> possibly with some JS disabled). In fact, trying to connect to
> trisquel.info with LibreJS seems to completely crash Icecat and I have
> to restart it. Does anyone else have this problem or know why this is?
>
> I'm using Icecat on Trisquel 7.
>

--
- https://libreplanet.org/wiki/User:Adfeno
- Palestrante e consultor sobre /software/ livre (não confundir com
gratis).
- "WhatsApp"? Ele não é livre. Por favor, use o GNU Ring ou o Tox.
- Contato: https://libreplanet.org/wiki/User:Adfeno#vCard
- Arquivos comuns aceitos (apenas sem DRM): Corel Draw, Microsoft
Office, MP3, MP4, WMA, WMV.
- Arquivos comuns aceitos e enviados: CSV, GNU Dia, GNU Emacs Org, GNU
GIMP, Inkscape SVG, JPG, LibreOffice (padrão ODF), OGG, OPUS, PDF
(apenas sem DRM), PNG, TXT, WEBM.

ADFENO
Desconectado
Joined: 12/31/2012

And just when I started investigating it, I found why LibreJS takes so
much time on stuff.

I have to advise, however, that there is nothing wrong (so far) with GNU
LibreJS. Besides, I'm not an expert in web development. The only thing I
know is some basic concepts of HTML, CSS and JS.

Now on the things I found so far:

It seems that the website is using a Drupal module named Advanced CSS/JS
Aggregation (AdvAgg/advagg) ([1]). However, AdvAgg itself isn't bad, it
might as well be very handy.

Basically, AdvAgg attempts to make most things into a single one and
also caches stuff so that 10 people don't end up generating 10 different
processess working to do the same thing with the same file.

The problem however, is that AdvAgg is currently doing "too much", and
this seems to cause various dynamic JavaScript files to appear, which
GNU LibreJS has to evaluate, thus causing the slowdown and overload.

[1] .

Adonay Felipe Nogueira <name at domain> writes:

> Hm... Interesting... I remember that some months ago they had that fixed
> in the website... I wonder what might be causing the problem. I'll try
> to collect more useful information.
>

Time4Tea
Desconectado
Joined: 07/16/2017

Sorry ADFENO, this is a bit beyond my level of expertise when it comes to web coding stuff. But, thanks for looking into it anyway :-)

usename343
Desconectado
Joined: 07/10/2017

Does the web extensions version work better?
https://cloud.disroot.org/s/AShIafyfVkMeUye
(To install download then select install from file on about:addons)

Time4Tea
Desconectado
Joined: 07/16/2017

I'll give that a try and see. Thanks! :-)

Time4Tea
Desconectado
Joined: 07/16/2017

Adding trisquel.info/* to the whitelist for the version of LibreJS that was installed with Icecat didn't help - Icecat still locked up when I tried to access the trisquel site.

However, I installed the web extensions version that usename343 mentioned and that seems to work ok. So, I will use that from now on.

Thanks for your help! :-)