in reply to Pop-up killing http proxy

Too much trouble to go rolling your own: you can just use Privoxy, successor of the infamous Junkbuster.

Makeshifts last the longest.