Hacker News new | ask | show | jobs
by guilhas 1372 days ago
2 years without a reply, maybe it's a feature.

Could they be afraid of a surge in proxy Adblock extensions since they are trying to cripple the local ones?

1 comments

A proxy extension requires rewriting arbitrary requests on the fly, which is removed from V3 as a general capability.
> A proxy extension requires rewriting arbitrary requests on the fly

That is completely incorrect. A proxy extension routes requests through a proxy server. It does not rewrite anything.

OK and presumably it does that by taking a request for an address A and rewriting part of it so that it actually goes to B with some additional headers to indicate how to forward it.

edit: Apparently I've hit my HN rate limit so I can't reply! Thanks Dang.

As for the proxying, obviously something has to rewrite the address that the request is going to. Depending on the type of proxy (ex: HTTP CONNECT) you may also have an x-forwarded-by header set. It sounds like Chrome never allowed you to do this manually, cool TIL.

I mean, you are just completely wrong. It does not rewrite the request. It does not change headers. There is an API that allows the extension to set a proxy server destination:

https://developer.chrome.com/docs/extensions/reference/proxy...

And that API does not change the request, either. That is not how proxying works.