bug-librejs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: JS run from data-url


From: Wojtek Kosior
Subject: Re: JS run from data-url
Date: Wed, 15 Nov 2023 15:13:54 +0100

> In addition to LibreJS I have tried AdBlock Plus, AdBlock Latitude,
> uBlock Origin, NoScript, YesScript and writing a Greasemonkey script
> of my own. Nothing works (except turning off JS completely, of
> course) [...]

Do you mean that only disabling JS *on the browser level* works? Or that
e.g. the uBO's JS-blocking features do work but only when set to block
it globally?

Since you seem very inclined to work around this problem, you might
want to try connecting to this website via e.g. Mitmproxy[1]. You can
then configure it to edit the HTML on-the-fly, as it gets downloaded.
Using your own Python script.

This is surely not the simplest approach (and Mitmproxy is surely not
the KISS'est tool in the world) but it certainly avoids some of the
limitations of browser extensions :)

Good luck
Wojtek

[1] https://mitmproxy.org/

-- (sig_start)
website: https://koszko.org/koszko.html
fingerprint: E972 7060 E3C5 637C 8A4F  4B42 4BC5 221C 5A79 FD1A
follow me on Fediverse: https://friendica.me/profile/koszko/profile

♥ R29kIGlzIHRoZXJlIGFuZCBsb3ZlcyBtZQ== | ÷ c2luIHNlcGFyYXRlZCBtZSBmcm9tIEhpbQ==
✝ YnV0IEplc3VzIGRpZWQgdG8gc2F2ZSBtZQ== | ? U2hhbGwgSSBiZWNvbWUgSGlzIGZyaWVuZD8=
-- (sig_end)


On Wed, 15 Nov 2023 10:52:35 +0000 Elizabeth Lock <Waltraute@yandex.com> wrote:

> Dear Friends,
> 
> I came across LibreJS because I have been trying to block the following
> ubiquitous script:
> https://static.parastorage.com/services/wix-thunderbolt/dist/browser-deprecation.inline.ef8f56c7.bundle.min.js
> . This tries to prevent me from browsing Wix sites because I use
> Waterfox Classic. In addition to LibreJS I have tried AdBlock Plus,
> AdBlock Latitude, uBlock Origin, NoScript, YesScript and writing a
> Greasemonkey script of my own. Nothing works (except turning off JS
> completely, of course) because the script isn't included directly, but
> as a data-url. So if anyone got LibreJS to block scripts invoked from
> data-urls, that would be magic!
> 
> Many thanks,
> 
> Elizabeth

Attachment: pgptjxonj77v5.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]