Live data from Hacker News

Chrome disabling uBlock Origin is a serious security threat

nuage.quimerch.com

11–20 of 91 posts

Re: Chrome disabling uBlock Origin is a serious security threat

#11
post #10

I guess it would be easy to block ads via a proxy? An http proxy in Python is just a few lines of code. It could simply drop the requests to known ad servers. And in Chrome, there is a setting to use a proxy. So all one had to do is run ./my_ad_blocking_proxy.py and set the proxy in Chrome to something like 127.0.0.1:8080?

Good idea! But I'll have to install this on my relative's computer or router, that's not as convenient as a browser extension

Re: Chrome disabling uBlock Origin is a serious security threat

#12
post #10

I guess it would be easy to block ads via a proxy? An http proxy in Python is just a few lines of code. It could simply drop the requests to known ad servers. And in Chrome, there is a setting to use a proxy. So all one had to do is run ./my_ad_blocking_proxy.py and set the proxy in Chrome to something like 127.0.0.1:8080?

This is what I was doing around 25 years ago before ad blockers were a thing, and the web was not encrypted... (Python didn't exist yet, the proxy was a lot of code in Object Pascal, i.e. Delphi)

Re: Chrome disabling uBlock Origin is a serious security threat

#13
post #10

I guess it would be easy to block ads via a proxy? An http proxy in Python is just a few lines of code. It could simply drop the requests to known ad servers. And in Chrome, there is a setting to use a proxy. So all one had to do is run ./my_ad_blocking_proxy.py and set the proxy in Chrome to something like 127.0.0.1:8080?

Nope, cannot be done like this. You can block just some of the ADs on websites. But for example YouTube requests for video chunks, is same domain as ADs. So you would have Youtube with ADs.

Much easier solution, which everyone should made years ago, STOP using Chrome crapbrowser.

Re: Chrome disabling uBlock Origin is a serious security threat

#14
I'll go against the grain and say this is not a security threat. if missing ublock is a true security concern you shouldn't be using chrome. Because the opposite is not true - that chrome+ublock is keeping you secure from tracking.

We just don't want to see ads. Isn't that enough?

Re: Chrome disabling uBlock Origin is a serious security threat

#15
post #10

I guess it would be easy to block ads via a proxy? An http proxy in Python is just a few lines of code. It could simply drop the requests to known ad servers. And in Chrome, there is a setting to use a proxy. So all one had to do is run ./my_ad_blocking_proxy.py and set the proxy in Chrome to something like 127.0.0.1:8080?

up next: chrome ignores proxy configurations if content is available without.

Re: Chrome disabling uBlock Origin is a serious security threat

#16
"There are a few alternatives available. Unfortunately, moving to Firefox may not be a viable option for her, especially given Mozilla’s recent behavior."

The world has gone crazy. So this relative has casually used the most bloated spyware disguised as a browser for literally a decade, but she can't switch to firefox because 'Mozilla’s recent behavior'.

Re: Chrome disabling uBlock Origin is a serious security threat

#17

I'll go against the grain and say this is not a security threat. if missing ublock is a true security concern you shouldn't be using chrome. Because the opposite is not true - that chrome+ublock is keeping you secure from tracking. We just don't want to see ads. Isn't that enough?

Not a big deal on the desktop and a small deal on the laptop, ad blocking gives a noticeable performance gain on Android.

Years ago when I had one of those Intel Atom netbooks you could tell a pretty big difference since it was pretty RAM constrained.

Re: Chrome disabling uBlock Origin is a serious security threat

#18
post #13
post #10

I guess it would be easy to block ads via a proxy? An http proxy in Python is just a few lines of code. It could simply drop the requests to known ad servers. And in Chrome, there is a setting to use a proxy. So all one had to do is run ./my_ad_blocking_proxy.py and set the proxy in Chrome to something like 127.0.0.1:8080?

Nope, cannot be done like this. You can block just some of the ADs on websites. But for example YouTube requests for video chunks, is same domain as ADs. So you would have Youtube with ADs. Much easier solution, which everyone should made years ago, STOP using Chrome crapbrowser.

For same-domain ads you could use content-inspection. That is probably how in-browser adblockers do it too.

Re: Chrome disabling uBlock Origin is a serious security threat

#19
post #10

I guess it would be easy to block ads via a proxy? An http proxy in Python is just a few lines of code. It could simply drop the requests to known ad servers. And in Chrome, there is a setting to use a proxy. So all one had to do is run ./my_ad_blocking_proxy.py and set the proxy in Chrome to something like 127.0.0.1:8080?

uBlock can do fairly sophisticated content blocking and rules that rely on the page being rendered out. Even with tls MiTM you'd need to fully render the page and run JS

Just yesterday I noticed it managed to block self hosted Snowplow (clickstream analytics) JS library without blocking other scripts on the same CDN/domain.

Re: Chrome disabling uBlock Origin is a serious security threat

#20

"There are a few alternatives available. Unfortunately, moving to Firefox may not be a viable option for her, especially given Mozilla’s recent behavior." The world has gone crazy. So this relative has casually used the most bloated spyware disguised as a browser for literally a decade, but she can't switch to firefox because 'Mozilla’s recent behavior'.

She can't switch to firefox because she's used to Chrome and she's 80.

TBH I added the sentence about recent Mozilla behaviour because it pisses me off but it shouldn't be an argument, you're right.

Post reply on HN