Firefox and script block tool/addon

classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

Firefox and script block tool/addon

Dale-46
Howdy,

I use Firefox and have a issue with scripts on some sites.  I have
noscript installed and for the most part, it works.  That said, there is
times when it doesn't do what I need.  It seems, from what I can find
anyway, that you can either allow scripts or not allow scripts but can't
pick and choose.  For example.  Let's say I'm on abc.com and I need some
scripts to run but want to block other scripts.  With noscript, I either
allow all from a site or none.  What I'd like to find is a script block
tool that will list all the scripts and allow me to block some but allow
others.  Believe it or not, I use to use adblock, a much older version,
to do this.  I'd tell adblock to list all the objects, sort them by type
and then go through the scripts until I find the magic settings that
allows the site to work but not run scripts I don't want.

I've installed and tried quite a few script block tools but none of them
seem to do what I want to do.  I've even tried a few addons that only
had a very few users, just hoping it would do this.  Has anyone ever
seen a script block tool, or some other tool with a different name, that
works this way?  I need a addon that allows me to refine and be
selective on what scripts run and which ones are blocked. 

Thanks much to all.

Dale

:-)  :-) 

Reply | Threaded
Open this post in threaded view
|

Re: Firefox and script block tool/addon

aisha
Firefox currently has some issues with addons and local storage.
Do you have the use `clang` flag enabled?
This compiles firefox using clang-llvm and fixes a lot of the problems.

---
Aisha
www.aisha.cc

On 2020-01-24 22:52, Dale wrote:

> Howdy,
>
> I use Firefox and have a issue with scripts on some sites.  I have
> noscript installed and for the most part, it works.  That said, there
> is
> times when it doesn't do what I need.  It seems, from what I can find
> anyway, that you can either allow scripts or not allow scripts but
> can't
> pick and choose.  For example.  Let's say I'm on abc.com and I need
> some
> scripts to run but want to block other scripts.  With noscript, I
> either
> allow all from a site or none.  What I'd like to find is a script block
> tool that will list all the scripts and allow me to block some but
> allow
> others.  Believe it or not, I use to use adblock, a much older version,
> to do this.  I'd tell adblock to list all the objects, sort them by
> type
> and then go through the scripts until I find the magic settings that
> allows the site to work but not run scripts I don't want.
>
> I've installed and tried quite a few script block tools but none of
> them
> seem to do what I want to do.  I've even tried a few addons that only
> had a very few users, just hoping it would do this.  Has anyone ever
> seen a script block tool, or some other tool with a different name,
> that
> works this way?  I need a addon that allows me to refine and be
> selective on what scripts run and which ones are blocked. 
>
> Thanks much to all.
>
> Dale
>
> :-)  :-) 

Reply | Threaded
Open this post in threaded view
|

Re: Firefox and script block tool/addon

Dale-46
Hi,

I'm checking that as I type.  It may not solve all my problems but it
may certainly help.  Some scripts make one CPU core go to 100% and locks
up the tab the script is running on.  Firefox, to its credit, is sane
enough to allow other tabs to work tho.  At least it doesn't completely
lock up the whole thing.  Good code I guess.  ;-)  Anyway, it does that
for about 30 seconds or so, I assume it times out or something.  Still,
very annoying and worthy of just blocking the script completely. 

It appears clang is disabled.  If I read that correctly, that is the
ideal setting.


[ebuild   R   ~] www-client/firefox-72.0.1::gentoo  USE="gmp-autoupdate
screenshot startup-notification system-av1 system-icu system-jpeg
system-sqlite system-webp -bindist -clang -custom-cflags
-custom-optimization -debug -eme-free -geckodriver -hardened -hwaccel
-jack -lto -pgo -pulseaudio (-selinux) -system-libevent -system-libvpx
-test -wayland -wifi" CPU_FLAGS_X86="-avx2"


Thanks for the tip. 

Dale

:-)  :-) 

P. S. Top posting since reply was also.  Could be device related.  I dunno.


aisha wrote:

> Firefox currently has some issues with addons and local storage.
> Do you have the use `clang` flag enabled?
> This compiles firefox using clang-llvm and fixes a lot of the problems.
>
> ---
> Aisha
> www.aisha.cc
>
> On 2020-01-24 22:52, Dale wrote:
>> Howdy,
>>
>> I use Firefox and have a issue with scripts on some sites.  I have
>> noscript installed and for the most part, it works.  That said, there is
>> times when it doesn't do what I need.  It seems, from what I can find
>> anyway, that you can either allow scripts or not allow scripts but can't
>> pick and choose.  For example.  Let's say I'm on abc.com and I need some
>> scripts to run but want to block other scripts.  With noscript, I either
>> allow all from a site or none.  What I'd like to find is a script block
>> tool that will list all the scripts and allow me to block some but allow
>> others.  Believe it or not, I use to use adblock, a much older version,
>> to do this.  I'd tell adblock to list all the objects, sort them by type
>> and then go through the scripts until I find the magic settings that
>> allows the site to work but not run scripts I don't want.
>>
>> I've installed and tried quite a few script block tools but none of them
>> seem to do what I want to do.  I've even tried a few addons that only
>> had a very few users, just hoping it would do this.  Has anyone ever
>> seen a script block tool, or some other tool with a different name, that
>> works this way?  I need a addon that allows me to refine and be
>> selective on what scripts run and which ones are blocked. 
>>
>> Thanks much to all.
>>
>> Dale
>>
>> :-)  :-) 
>


Reply | Threaded
Open this post in threaded view
|

Re: Firefox and script block tool/addon

Corpo
In reply to this post by Dale-46
Le 24/01/2020 à 22:52, Dale a écrit :

> Howdy,
>
> I use Firefox and have a issue with scripts on some sites.  I have
> noscript installed and for the most part, it works.  That said, there is
> times when it doesn't do what I need.  It seems, from what I can find
> anyway, that you can either allow scripts or not allow scripts but can't
> pick and choose.  For example.  Let's say I'm on abc.com and I need some
> scripts to run but want to block other scripts.  With noscript, I either
> allow all from a site or none.  What I'd like to find is a script block
> tool that will list all the scripts and allow me to block some but allow
> others.  Believe it or not, I use to use adblock, a much older version,
> to do this.  I'd tell adblock to list all the objects, sort them by type
> and then go through the scripts until I find the magic settings that
> allows the site to work but not run scripts I don't want.
>
> I've installed and tried quite a few script block tools but none of them
> seem to do what I want to do.  I've even tried a few addons that only
> had a very few users, just hoping it would do this.  Has anyone ever
> seen a script block tool, or some other tool with a different name, that
> works this way?  I need a addon that allows me to refine and be
> selective on what scripts run and which ones are blocked. 
>
> Thanks much to all.
>
> Dale
>
> :-)  :-) 
>
umatrix maybe?


Reply | Threaded
Open this post in threaded view
|

Re: Firefox and script block tool/addon

aisha
In reply to this post by Dale-46
Try enabling clang and see what happens. llvm is a really good piece of
software.

I generally also have pulseaudio and hwaccel enabled but thats up to
you.

---
Aisha
blog.aisha.cc

On 2020-01-25 04:39, Dale wrote:

> Hi,
>
> I'm checking that as I type.  It may not solve all my problems but it
> may certainly help.  Some scripts make one CPU core go to 100% and
> locks
> up the tab the script is running on.  Firefox, to its credit, is sane
> enough to allow other tabs to work tho.  At least it doesn't completely
> lock up the whole thing.  Good code I guess.  ;-)  Anyway, it does that
> for about 30 seconds or so, I assume it times out or something.  Still,
> very annoying and worthy of just blocking the script completely. 
>
> It appears clang is disabled.  If I read that correctly, that is the
> ideal setting.
>
>
> [ebuild   R   ~] www-client/firefox-72.0.1::gentoo  USE="gmp-autoupdate
> screenshot startup-notification system-av1 system-icu system-jpeg
> system-sqlite system-webp -bindist -clang -custom-cflags
> -custom-optimization -debug -eme-free -geckodriver -hardened -hwaccel
> -jack -lto -pgo -pulseaudio (-selinux) -system-libevent -system-libvpx
> -test -wayland -wifi" CPU_FLAGS_X86="-avx2"
>
>
> Thanks for the tip. 
>
> Dale
>
> :-)  :-) 
>
> P. S. Top posting since reply was also.  Could be device related.  I
> dunno.
>
>
> aisha wrote:
>> Firefox currently has some issues with addons and local storage.
>> Do you have the use `clang` flag enabled?
>> This compiles firefox using clang-llvm and fixes a lot of the
>> problems.
>>
>> ---
>> Aisha
>> www.aisha.cc
>>
>> On 2020-01-24 22:52, Dale wrote:
>>> Howdy,
>>>
>>> I use Firefox and have a issue with scripts on some sites.  I have
>>> noscript installed and for the most part, it works.  That said, there
>>> is
>>> times when it doesn't do what I need.  It seems, from what I can find
>>> anyway, that you can either allow scripts or not allow scripts but
>>> can't
>>> pick and choose.  For example.  Let's say I'm on abc.com and I need
>>> some
>>> scripts to run but want to block other scripts.  With noscript, I
>>> either
>>> allow all from a site or none.  What I'd like to find is a script
>>> block
>>> tool that will list all the scripts and allow me to block some but
>>> allow
>>> others.  Believe it or not, I use to use adblock, a much older
>>> version,
>>> to do this.  I'd tell adblock to list all the objects, sort them by
>>> type
>>> and then go through the scripts until I find the magic settings that
>>> allows the site to work but not run scripts I don't want.
>>>
>>> I've installed and tried quite a few script block tools but none of
>>> them
>>> seem to do what I want to do.  I've even tried a few addons that only
>>> had a very few users, just hoping it would do this.  Has anyone ever
>>> seen a script block tool, or some other tool with a different name,
>>> that
>>> works this way?  I need a addon that allows me to refine and be
>>> selective on what scripts run and which ones are blocked. 
>>>
>>> Thanks much to all.
>>>
>>> Dale
>>>
>>> :-)  :-) 
>>

Reply | Threaded
Open this post in threaded view
|

Re: Firefox and script block tool/addon

Dale-46
In reply to this post by Corpo
Corpo wrote:

> Le 24/01/2020 à 22:52, Dale a écrit :
>> Howdy,
>>
>> I use Firefox and have a issue with scripts on some sites.  I have
>> noscript installed and for the most part, it works.  That said, there is
>> times when it doesn't do what I need.  It seems, from what I can find
>> anyway, that you can either allow scripts or not allow scripts but can't
>> pick and choose.  For example.  Let's say I'm on abc.com and I need some
>> scripts to run but want to block other scripts.  With noscript, I either
>> allow all from a site or none.  What I'd like to find is a script block
>> tool that will list all the scripts and allow me to block some but allow
>> others.  Believe it or not, I use to use adblock, a much older version,
>> to do this.  I'd tell adblock to list all the objects, sort them by type
>> and then go through the scripts until I find the magic settings that
>> allows the site to work but not run scripts I don't want.
>>
>> I've installed and tried quite a few script block tools but none of them
>> seem to do what I want to do.  I've even tried a few addons that only
>> had a very few users, just hoping it would do this.  Has anyone ever
>> seen a script block tool, or some other tool with a different name, that
>> works this way?  I need a addon that allows me to refine and be
>> selective on what scripts run and which ones are blocked. 
>>
>> Thanks much to all.
>>
>> Dale
>>
>> :-)  :-) 
>>
> umatrix maybe?
>
>
>


I installed it and I think it will do what I want.  I just need to
figure out the details of how to make it get there.  Based on the
description, it seems to be the best one yet.   Now to head over to
youtube and see some tips and tricks.  ;-)  I might add, one website
that was really bad seems to be a lot better.  Time will tell tho.

Thanks.

Dale

:-)  :-) 

Reply | Threaded
Open this post in threaded view
|

Re: Firefox and script block tool/addon

Dale-46
Dale wrote:

> Corpo wrote:
>> Le 24/01/2020 à 22:52, Dale a écrit :
>>> Howdy,
>>>
>>> I use Firefox and have a issue with scripts on some sites.  I have
>>> noscript installed and for the most part, it works.  That said, there is
>>> times when it doesn't do what I need.  It seems, from what I can find
>>> anyway, that you can either allow scripts or not allow scripts but can't
>>> pick and choose.  For example.  Let's say I'm on abc.com and I need some
>>> scripts to run but want to block other scripts.  With noscript, I either
>>> allow all from a site or none.  What I'd like to find is a script block
>>> tool that will list all the scripts and allow me to block some but allow
>>> others.  Believe it or not, I use to use adblock, a much older version,
>>> to do this.  I'd tell adblock to list all the objects, sort them by type
>>> and then go through the scripts until I find the magic settings that
>>> allows the site to work but not run scripts I don't want.
>>>
>>> I've installed and tried quite a few script block tools but none of them
>>> seem to do what I want to do.  I've even tried a few addons that only
>>> had a very few users, just hoping it would do this.  Has anyone ever
>>> seen a script block tool, or some other tool with a different name, that
>>> works this way?  I need a addon that allows me to refine and be
>>> selective on what scripts run and which ones are blocked. 
>>>
>>> Thanks much to all.
>>>
>>> Dale
>>>
>>> :-)  :-) 
>>>
>> umatrix maybe?
>>
>>
>>
>
> I installed it and I think it will do what I want.  I just need to
> figure out the details of how to make it get there.  Based on the
> description, it seems to be the best one yet.   Now to head over to
> youtube and see some tips and tricks.  ;-)  I might add, one website
> that was really bad seems to be a lot better.  Time will tell tho.
>
> Thanks.
>
> Dale
>
> :-)  :-) 
>


I been playing with this add-on and watched some videos on it.  While it
does some things better, it just isn't specific enough for what I need. 
In some cases, if I blocked scripts with it, some sites wouldn't work at
all or caused other issues. In a way it's better than noscript but it
still just doesn't go far enough.  I wish adblock would list elements
the way it used to.  That worked great because I could block scripts on
a individual basis.  Allow the ones I need and block the ones that cause
issues. 

Thanks for the info.  It was worth a try at least.

Dale

:-)  :-) 

Reply | Threaded
Open this post in threaded view
|

Re: Firefox and script block tool/addon

Spackman, Chris
On 2020/02/17 at 02:31am, Dale wrote:
> Dale wrote:

> I been playing with this add-on and watched some videos on it.  While
> it does some things better, it just isn't specific enough for what I
> need.   In some cases, if I blocked scripts with it, some sites
> wouldn't work at all or caused other issues. In a way it's better than
> noscript but it still just doesn't go far enough.  I wish adblock
> would list elements the way it used to.  That worked great because I
> could block scripts on a individual basis.  Allow the ones I need and
> block the ones that cause issues. 

I'm really surprised that umatrix (not ublock origin!) can't do what you
need. As you note, it is much more granular than NoScript. Blocking
elements at the subdomain level, you'd think, would be granular enough
for most web pages.

Are you saying you want to additionally allow / block scripts not just
on a per-subdomain basis but on a per-individual-script basis? I've been
using things like NoScript and uMatrix for many years, and I don't think
even I would want to deal with that. How would you know which ones to
allow? The Reg is showing 7, of which I allow 3. The Guardian has like
28, of which I allow 19. It would not be fun to try to go through all of
those to figure out which ones are absolutely necessary. You'd be
examining, allowing, and reloading 20 times per site, at first.

Maybe the Tor Browser people would be interested in working on such an
add on?

--
Chris Spackman                                      [hidden email]

ESL Coordinator            The Graham Family of Schools
ESL Instructor                          Columbus State Community College
Japan Exchange and Teaching Program           Wajima, Ishikawa 1995-1998
Linux user since 1998      Linux User #137532

Reply | Threaded
Open this post in threaded view
|

Re: Firefox and script block tool/addon

Dale-46
Spackman, Chris wrote:

> On 2020/02/17 at 02:31am, Dale wrote:
>> Dale wrote:
>> I been playing with this add-on and watched some videos on it.  While
>> it does some things better, it just isn't specific enough for what I
>> need.   In some cases, if I blocked scripts with it, some sites
>> wouldn't work at all or caused other issues. In a way it's better than
>> noscript but it still just doesn't go far enough.  I wish adblock
>> would list elements the way it used to.  That worked great because I
>> could block scripts on a individual basis.  Allow the ones I need and
>> block the ones that cause issues. 
> I'm really surprised that umatrix (not ublock origin!) can't do what you
> need. As you note, it is much more granular than NoScript. Blocking
> elements at the subdomain level, you'd think, would be granular enough
> for most web pages.
>
> Are you saying you want to additionally allow / block scripts not just
> on a per-subdomain basis but on a per-individual-script basis? I've been
> using things like NoScript and uMatrix for many years, and I don't think
> even I would want to deal with that. How would you know which ones to
> allow? The Reg is showing 7, of which I allow 3. The Guardian has like
> 28, of which I allow 19. It would not be fun to try to go through all of
> those to figure out which ones are absolutely necessary. You'd be
> examining, allowing, and reloading 20 times per site, at first.
>
> Maybe the Tor Browser people would be interested in working on such an
> add on?
>



Yes, blocking on a per script basis is what I need.  On one site, I'm
sure it has a couple dozen scripts on it.  From what I could see, I
really only need to block 2 maybe 3.  The others are needed for certain
things on the page to work. Some are needed to make the page load at all. 

The thing about getting it set up, once done, it's done.  It may take 30
minutes or a hour but once it is done, it won't require much if any
attention from then on.  As I pointed out, I used to do this in
Seamonkey with adblock.  It worked well.  In some cases, I'd block all
by default and then set exceptions for the ones I need to work. 
Whichever is easier. 

Maybe one day I'll run up on a add-on that does this.  Maybe.  ;-)

Dale

:-)  :-)