Hacker News new | ask | show | jobs
by dredmorbius 4569 days ago
how do I keep a site from changing what I copy / paste

1. Disable Javascript. I browse with NoScript / Scriptsafe plugs installed, and disable JS by default. This defeats the demo in the article (I actually had to enable JS to break my copy/paste).

2. Use a console-mode browser and/or curl the source and grab what you want from it (though I've found sites which break console tools).

Better: enter domains which employ such tactics in your /etc/hosts file as 0.0.0.0.

1 comments

> Better: enter domains which employ such tactics in your /etc/hosts file as 0.0.0.0.

As far as I can tell, blocking *.tynt.com cuts down on 99% of such gimmmicky tactics.

(I wonder why they're such a major provider; the paranoid in me wants to believe that they're using patents aggressively; the lazy person in me doesn't care.)

What's your blocking method?

Short of setting up a nameserver and going authoritative for the domain (I've done that, I'm feeling lazy), /etc/hosts doesn't take wildcards for hostnames.

Hm, I must have just blocked the specific domain: tcr.tynt.com (as per instructions here: http://daringfireball.net/2010/05/tynt_copy_paste_jerks)
NB: that's a hostname, not a domainname.
Ack; I should have known that. Thank you.