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

2016-05-18 Thread Cain Ungothep
Using sed/awk/etc. for website transformation sounds very silly.  Your
scripts will turn completely unwieldy as soon as you try to do something
non-trivial.

You can do much more, much easier by using your own self-served javascript.

And you don't need to install extra addons like Greasemonkey for that
(people just shouldn't install anything on top of Tor Browser, unless they
are competent programmers and have audited the code).  Nor enabling
javascript for the website itself.  All you need is already conveniently
packaged in Tor Browser: NoScript.

Learn about NoScript surrogates.

Note: NoScript surrogates are not equivalent Greasemonkey scripts,
feature-wise.

Warning: You have to think carefully about the sort of transformations you
make and in what context you make them.  Because they could be used to
fingerprint you.

PS: Talking about code audits: How many of you have looked at NoScript's
source?  I have.  I was happier prior.
-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk


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

2016-05-16 Thread haaber

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
   into 

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

2016-05-16 Thread 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 Schoen  
Senior Staff Technologist   https://www.eff.org/
Electronic Frontier Foundation  https://www.eff.org/join
815 Eddy Street, San Francisco, CA  94109   +1 415 436 9333 x107
-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk


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

2016-05-16 Thread haaber
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.

advantages:
   + this allows javascript-free augmented browsing
   + sed is very powerful & a  lot of tutorials are available.
   + sed is rather stable & tested

disadvatanges:
   - a sed-copy has to sit inside the browser,
   - I am not sure to be able to do this alone: I never coded larger
 projects, my C-knowledge is basic and tor-browser is a
 "sensible object" to start "playing" around :)


Thank you for comments / suggestions. Bernard
-- 
tor-talk mailing list - tor-talk@lists.torproject.org
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk