From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-user+bounces-189316-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id CB4DE138350
	for <garchives@archives.gentoo.org>; Sat, 25 Jan 2020 15:31:08 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 53A07E087F;
	Sat, 25 Jan 2020 15:30:59 +0000 (UTC)
Received: from mail.aisha.cc (mail.aisha.cc [108.61.81.40])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id C7DF5E0843
	for <gentoo-user@lists.gentoo.org>; Sat, 25 Jan 2020 15:30:58 +0000 (UTC)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aisha.cc; s=20200124;
	t=1579966257; h=from:from:reply-to:reply-to:subject:subject:date:date:
	 message-id:message-id:to:to:cc:cc:mime-version:mime-version:
	 content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding:
	 in-reply-to:in-reply-to:references:references;
	bh=g14XcfweUhSC3vqATN3aHHQWJ+PBdnqOQVtKWYSUqqM=;
	b=Z/VXR/Ch27K7yKcaQisNwmNExtKHf68b1TocVZ1xRLln28XufOfl/ZsG9rvynS34AfiAps
	/WmycMPKbS9db+0OZy84U4MunelmI2f2e44NfArFIs6cpD2fr+Q3LAu2vBREABcuwhd04W
	mk2azZSfFI+DXhHaxYD7m05+8jwjBOlSurueKLn1KJQ9FxGPobiMvij6pflcQZ0XOgoNqe
	9Q2jJRt61eZCG1h/Amij5HeGuzkr7JNA/HReFnkAB+Uu40g6BONgtXQTcZ3nNZFTT1cOBw
	7+eFP0z2u5pj/pEzk5jEaYcoT5W0s3dJxRshweOlcP+QwsvgC/69zSa63NaCkQ==
Received: from rc.epsilonknot.xyz (pool-100-8-211-249.nwrknj.fios.verizon.net [100.8.211.249])
	by aisha.cc (OpenSMTPD) with ESMTPSA id 3f07bd46 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO);
	Sat, 25 Jan 2020 10:30:57 -0500 (EST)
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@lists.gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8;
 format=flowed
Content-Transfer-Encoding: 8bit
Date: Sat, 25 Jan 2020 15:30:57 +0000
From: aisha <aisha@aisha.cc>
To: gentoo-user@lists.gentoo.org
Cc: Dale <rdalek1967@gmail.com>
Subject: Re: [gentoo-user] Firefox and script block tool/addon
In-Reply-To: <57e300d0-7b22-3d64-0ba8-bfa5c1457bef@gmail.com>
References: <71e19209-42a5-11bc-f8e8-2e7bad0c7d82@gmail.com>
 <d270e5fec7bed8e6666a186a7a9ab58b@gmail.com>
 <57e300d0-7b22-3d64-0ba8-bfa5c1457bef@gmail.com>
User-Agent: Roundcube Webmail/1.4.2
Message-ID: <5af20219c04c43c21eb8cac1b1cd4520@gmail.com>
X-Sender: aisha@aisha.cc
Organization: Aisha
X-Archives-Salt: 5c361ae6-34e3-431b-97c0-1128c6c5fe29
X-Archives-Hash: 4fcab4283f1e20c6373dc03f0acb9713

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
>>> 
>>> :-)  :-) 
>>