Or it could be deliberate, to force people who use blocking software without surrogate functionality (such as adblockers) to allow the 3rd-party script(s)/site(s).Thrawn wrote:It's a sign of poor coding, but that's life.
Replace Google-supplied javascripts -- How?
Re: Replace Google-supplied javascripts -- How?
Also, some 3rd-party sites that have trackers don't mix the tracking scripts and the "useful" scripts; in those cases you can use ABE to restrict which JS files are allowed to load/run.
*Always* check the changelogs BEFORE updating that important software!
-
Re: Replace Google-supplied javascripts -- How?
There are more kinds of poverty than just lack of technical skillbarbaz wrote:Or it could be deliberate, to force people who use blocking software without surrogate functionality (such as adblockers) to allow the 3rd-party script(s)/site(s).Thrawn wrote:It's a sign of poor coding, but that's life.
======
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Thrawn
------------
Religion is not the opium of the masses. Daily life is the opium of the masses.
True religion, which dares to acknowledge death and challenge the way we live, is an attempt to wake up.
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0
- markfilipak
- Posts: 14
- Joined: Mon Jul 06, 2015 8:38 pm
Re: Replace Google-supplied javascripts -- How?
That's not the case. I get no errors. I just can't stay logged in because (I assume) cookies aren't updated, and links aren't populated, so they don't work at all.Thrawn wrote:The good news is, in most cases, the site isn't actually making use of the third-party scripts for anything important; it just expects the script objects to be there, and crashes with a JavaScript error if not. It's a sign of poor coding, but that's life.barbaz wrote:Yeah, basically...markfilipak wrote:Are you saying that I will have to craft a suitable replacement based on minified JS that, in many cases, will be provisioning event listeners that are dynamically bound to <div>-elements? Ugh! I can't spend the rest of my life analyzing minified DOM-code just to make someone's web site work.
Things are even weirder than I thought. I tried a completely clean browser -- total vanilla -- running in Windows 7, which is my Host OS, and running a 'localhost'-only HOSTS file (not a "blocking" HOSTS file). That is about as plain as you can get, but that doesn't work either.You also have the option of downloading the real script, editing it, and populating the 'replacement' property with a file: URL that points to it.
Mozilla/5.0 (X11; Linux x86_64; rv:25.5) Gecko/20150607 PaleMoon/25.5.0
Re: Replace Google-supplied javascripts -- How?
Did you flush the DNS cache after updating your HOSTS file? If not, does that help at all?markfilipak wrote:Things are even weirder than I thought. I tried a completely clean browser -- total vanilla -- running in Windows 7, which is my Host OS, and running a 'localhost'-only HOSTS file (not a "blocking" HOSTS file). That is about as plain as you can get, but that doesn't work either.
*Always* check the changelogs BEFORE updating that important software!
-