unresponsive script chrome freezes firefox

17 Antworten [Letzter Beitrag]
tonlee
Offline
Beigetreten: 09/08/2014

debian 10
firefox 68.3 esr
thinkpad t400 3gb ram

https://www.infopackets.com/news/9883/how-fix-unresponsive-script-error-firefox-chrome-ie

Long time this has been an issue on firefox. I get the message unresponsive script. Stop or continue script. And it says chrome
and something more. It happens that the computer freezes such that the
power off button gets the only option.

If I am able to start the system monitor, then ram is often close to
full and swap also rather full. Indicating it is about a low
performing cpu and not enough ram.

Do you have suggestions? I am testing the pale moon browser. What
is your opinion about the browser? Security? Privacy? Other browsers?
Thank you.

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

> Long time this has been an issue on firefox. I get the message
> unresponsive script. Stop or continue script.
>
> Do you have suggestions?

I don't know how to actually fix these scripts which are causing the
problem, but if you haven't already you could reduce how often this
happens (and improve privacy/freedom) but installing NoScript or LibreJS
and only enabling JavaScript in situations where you absolutely need it.

> I am testing the pale moon browser. What is your opinion about the
> browser?

It's non-free. You can create a free derivative by compiling it from
source and rebranding it, but any distribution of the browser called
"Pale Moon" is non-free.

> Other browsers?

Hyperbola has Iceweasel-UXP, which is a fork of Basilisk. Basilisk is
non-free for the same reason as Pale Moon, but Basilisk is a free
derivative. It's based on pre-Quantum Firefox, so it's a kind of slow
and most compatible extensions are unmaintained, but Hyperbola is
maintaining a handful of important extensions like NoScript and uBlock.
Overall I think it's an alright browser. I don't know of any binary
distributions for Debian-based distros though. You'd probably need to
compile it yourself.

Ungoogled Chromium is supposed to be pretty good in terms of privacy. I
have heard claims that Chromium and derivatives have unclear licensing,
but I have not seen any evidence that this is currently the case. If
there are any non-free third party files, then vanilla Ungoogled
Chromium is not fully free, but the version of Ungoogled Chromium that
Guix distributes is because they remove most third-party files. If
there are any non-free first party files then that's a bigger problem,
but again, I have seen no evidence of this.

There is also LibreWolf, a privacy-focused Firefox derivative.
Unfortunately their build system is broken so they aren't providing
downloads, but I have applied their patches to Firefox ESR and compiled
it myself and it is working well.

tonlee
Offline
Beigetreten: 09/08/2014

> installing NoScript or LibreJS

I have installed addon privacy badger and ublock origin. I do not
know how to use them, configuring them. Could it be they
are to efficient? On firefox I seldom encounter advertising. Can the
clash between the advertising and the addons result in stopping firefox
working?

On pale moon I have installed no addons and advertising displays
and the browser does not freeze.

Isn't librejs the addon which makes websites impractical slow? Is there
a manual on how to use noscribt?

> It's non-free

I misunderstood that. Reading more, it appears pale moon conflicts
with fsf free software rules same way as firefox does. It is
software you can use, share, modify and redistribute. But if you
modify it, you are not allowed to name it pale moon. And
you are likely able to install non free addons.

I would rather install icecat because then I get a gnu approved piece
of software. And could ask for pieces of configuration advice
on this forum. But I do not think icecat gets updates and about pale
moon you can search for updates in the menu. On icecat you
cannot? Why, is it to difficult to build into icecat?

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

> I have installed addon privacy badger and ublock origin. I do not
> know how to use them, configuring them.

I have never used Privacy Badger. uBlock origin can block JavaScript. Look at its settings.

> Isn't librejs the addon which makes websites impractical slow?

I have found that is is slower than uBlock and NoScript.

> Is there a manual on how to use noscribt?

I don't think you'll need one, but search online if you do.

> But I do not think icecat gets updates and about pale
> moon you can search for updates in the menu. On icecat you
> cannot? Why, is it to difficult to build into icecat?

No forums users here are Icecat developers, so it doesn't make sense to ask here. Try https://lists.gnu.org/mailman/listinfo/bug-gnuzilla

calher

I am a member!

Offline
Beigetreten: 06/19/2015

On 1/9/20 12:28 PM, name at domain wrote:
>> Isn't librejs the addon which makes websites impractical slow?
>
> I have found that is is slower than uBlock and NoScript.

Not with the latest rewrite. uBlock is clunky compared to it.

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

> >> Isn't librejs the addon which makes websites impractical slow?
> >
> > I have found that is is slower than uBlock and NoScript.
>
> Not with the latest rewrite. uBlock is clunky compared to it.

I just installed the latest LibreJS to see if you are right. After
enabling it, I could not load any web pages. I waited for several
minutes on each page to see if it would eventually load, but finally
gave up and went back to uBlock. I find that usually uBlock actually
speeds pages up, because the time it takes to do its thing is less than
the time saved by not loading the things it blocks.

tonlee
Offline
Beigetreten: 09/08/2014

> uBlock origin can block JavaScript

ublock origin -> dashboard -> settings ->
disable javascript

If I mark it, then youtube does not work. You do not
watch youtube?

From what you wrote I got the impression, that
on some websites scripts, I assume java
scripts, can wear down the computer. And if
you then disable javascript, the website will still
work. But
it appears many websites will not work if you do
not allow javascripts.

Maybe it is privacy badger which breaks
youtube.

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

> If I mark it, then youtube does not work. You do not watch youtube?

I never use youtube.com. When I need to watch a YouTube video I use
Invidious, mpv, or youtube-dl instead. youtube.com requires you to run
non-free software on your computer (as you have just discovered).

> From what you wrote I got the impression, that on some websites
> scripts, I assume java scripts, can wear down the computer.

You experienced page freezing due to scripts. Since allowing JavaScript
on all sites is bad for freedom, security, and privacy anyway, I
suggested that you reduce how often this happens by only enabling
JavaScript when you absolutely have to. uBlock allows you to
temporarily or permanently whitelist certain sites.

> And if you then disable javascript, the website will still work. But
> it appears many websites will not work if you do not allow
> javascripts.

I never promised that all websites will work. Some do work (some even
work better), but many work poorly or not at all, sometimes
intentionally, sometimes due to bad web design. Whitelist sites when
you have to, but keep in mind that when you do your browser will install
and execute software which is usually proprietary, so do not do so
blindly.

See

https://www.gnu.org/philosophy/javascript-trap.html

and

https://onpon4.github.io/articles/kill-js.html

tonlee
Offline
Beigetreten: 09/08/2014

> youtube.com requires you to run
non-free software on your computer (as you have just discovered)

If in firefox I block javascript in the ublock origin menu,
twitter will fall back to a previous version.

Even if all javascript programs were free software, the
programs would be a menace? Because it is difficult to know if the
programs do something you resent?

> page freezing due to scripts

On pale moon I installed ublock origin
https://github.com/gorhill/uBlock/releases
Odd thing. In the ublock origin menu on firefox, you
can disable javascript. I did not have javascript disabled. In
the ublock origin menu on pale moon, there is no option to disable
javascript.
I do not know how to install privacy badger on pale moon. Can
ublock origin do the same as privacy badger? Running ublock
origin on pale moon seems to remove adverts. And no non responsive script
messages display and the computer does not freeze.

The librejs addon does not allow you to allow the browser to run
non free javascript?

https://www.gnu.org/software/librejs/
Is librejs 7.20.1 the newest
version?

Thank you.

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

> twitter will fall back to a previous version.

Yes, Twitter has a (kind of crappy but functional) fallback that works
without JavaScript. There is also Nitter,[1] an alternative frontend to
Twitter (like Invidious is to YouTube) which may be better than
Twitter's fallback. (I don't know, I don't use Twitter.)

> Even if all javascript programs were free software, the programs would
> be a menace? Because it is difficult to know if the programs do
> something you resent?

If all JavaScript on the web was free software, it would be possible to
study the source code and understand what it does, but it would still be
a good idea to pay attention to what gets installed.

> On pale moon I installed ublock origin
> https://github.com/gorhill/uBlock/releases Odd thing. In the ublock
> origin menu on firefox, you can disable javascript. I did not have
> javascript disabled. In the ublock origin menu on pale moon, there is
> no option to disable javascript. I do not know how to install privacy
> badger on pale moon. Can ublock origin do the same as privacy badger?
> Running ublock origin on pale moon seems to remove adverts. And no non
> responsive script messages display and the computer does not freeze.

Pale Moon is based on obsolete Firefox code, and does not support
webextensions. It only supports Xul extensions, which are for the most
part no longer developed because no major browser supports Xul addons
anymore. It looks like the uBlock developer is still maintaining the
legacy Xul version, so it is probably secure, but might not have newer
features. Unless someone is maintaining a Xul version of Privacy
Badger, it may be impossible to install on Pale Moon.

> The librejs addon does not allow you to allow the browser to run non
> free javascript?

It allows trivial JavaScript, and allows non-trivial JavaScript if it
has a machine-readable free license.

> https://www.gnu.org/software/librejs/ Is librejs 7.20.1 the newest
> version?

Yes, I think so. I tried it a few days ago, though, and it did not work
well. I could not load any web pages, so I went back to uBlock.

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

> Can ublock origin do the same as privacy badger?

It looks like Privacy Badger blocks some ads, once it detects that those
ads are tracking you.[1] uBlock Origin blocks all ads, and has other
features (like per-domain JavaScript blocking), so if you are using
uBlock Origin then it doesn't seem that Privacy Badger provides anything
additional, unless Privacy Badger has some additional functionality not
described on the Wikipedia page. I have never used it myself.

[1] https://en.wikipedia.org/wiki/Privacy_Badger

Magic Banana

I am a member!

I am a translator!

Offline
Beigetreten: 07/24/2010

But if you modify it, you are not allowed to name it pale moon.

That is actually a reasonable restriction. After all, trademarks aim to help the customer identify products. If the software is modified, it is not the same anymore. And whoever modifies the software is able to rather easily change the name/logo as well.

The problem with Mozilla's and Pale Moon's trademark policies is that they impose the change of name/logo to redistribute unaltered binaries, in some situations (such as when the redistributor charges a fee):

zapper (nicht überprüft)
zapper

Not sure if Basilisk is completely free. But Iceweasel-uxp is and they have been applying some patches that make it faster. Such PGO and other things. I think its only 25-50% slower than current firefox. But to each his own. :P

PS, I wonder how fast it will run whenever HyperbolaBSD comes out and its made for that. I can't wait! :)

They would like volunteers though for that, but meh, that's a separate issue. :P

strypey
Offline
Beigetreten: 05/14/2015

Chaosmomk:
> There is also LibreWolf, a privacy-focused Firefox derivative.
Unfortunately their build system is broken so they aren't providing
downloads

I filed an issue on the LibreWolf GH repo noting that the download link on their homepage was broken. I just got a reply that they have a release, and that issue was closed. So I presume their build system is now fixed?

chaosmonk

I am a member!

I am a translator!

Offline
Beigetreten: 07/07/2017

> I filed an issue on the LibreWolf GH repo noting that the download link on their homepage was broken. I just got a reply that they have a release, and that issue was closed. So I presume their build system is now fixed?

Looks like it.

https://gitlab.com/librewolf-community/browser/linux/-/releases

andyprough
Offline
Beigetreten: 02/12/2015

Just tried librewolf for the first time today after reading your posts. Very intriguing project! Nearly everything I dislike about Firefox seems to be removed by default with this browser.

calher

I am a member!

Offline
Beigetreten: 06/19/2015

On 3/9/20 2:25 PM, name at domain wrote:
> Just tried librewolf for the first time today after reading your posts.

Interesting. Is it available for Windows? Perhaps Trisquel could
outsource Abrowser to it. The community could just have a single
current release of Firefox to accompany IceCat's ESR.

--
Caleb Herbert
KE0VVT
(816) 892-9669
https://bluehome.net/csh

andyprough
Offline
Beigetreten: 02/12/2015

> Looks like it.
> https://gitlab.com/librewolf-community/browser/linux/-/releases

This is working extremely well. Is there any downside that you know of at this time?