[tor-talk] augmented browsing - "sed inside torbrowser"

haaber haaber at web.de
Mon May 16 19:49:42 UTC 2016


Thank you for your answer. I should have mentionoed that I have tried
Greasemonkey some time ago. But it is javascript based. None of the
example-scripts worked on a JS-deactivated firefox.  Am I wrong?

A sed / awk whatsoever is at least as powerful, more secure (code tested
for decades), and easy relatively to use, at least if you want
to browse JS-free.

- How to transform JS-enforcing codes like
  <span class=BS" dara-src="link"> into <img="link"> on the fly?
  Or codes like [link="[http://..."] into <href="http://...">

- How add a little openstreetmap into eBay or your favourite private
   local ads site that indicate the location of an object to sell?

and so forth. One/two lines of sed suffise in each case. Greasemonkey
seems to need JS activated (=security hole), and any of the above tasks
takes 30 lines of code.

Privoxy did the job, but it is nowadays useless since not really SSL
compatible. Somehow the "local postprocessing proxy" must sit inside the
browser. I still appreciate any help / comment!

thanks, Bernard



Seth David Schoen:
> haaber writes:
>
>> Hello,
>>
>> I wonder if there are more interested people out there to include a
>> "postprocessing" of the HTML code via  *sed*  type search & replace
>> expressions. A tiny sed copy could be included in the brwoser and a
>> domainbased list of expressions be given to sed that modifies the html
>> code(s) according to personal tastes.
>
> There is a nice existing and non-Tor Browser-specific tool that does
> something along these lines:
>
> https://en.wikipedia.org/wiki/Greasemonkey
>
> It may be a bit more elaborate than what you were thinking of but it's
> a nice tool that can handle a variety of use cases -- and should be
> fully compatible with Tor Browser already.
>


Seth David Schoen:
> haaber writes:
> 
>> Hello,
>>
>> I wonder if there are more interested people out there to include a
>> "postprocessing" of the HTML code via  *sed*  type search & replace
>> expressions. A tiny sed copy could be included in the brwoser and a
>> domainbased list of expressions be given to sed that modifies the html
>> code(s) according to personal tastes.
> 
> There is a nice existing and non-Tor Browser-specific tool that does
> something along these lines:
> 
> https://en.wikipedia.org/wiki/Greasemonkey
> 
> It may be a bit more elaborate than what you were thinking of but it's
> a nice tool that can handle a variety of use cases -- and should be
> fully compatible with Tor Browser already.
> 


More information about the tor-talk mailing list