Stop Link Spam from appearing in Copy/Paste from certain websites
You know what’s really annoying? When you go to certain websites, copy some text from them, and go to paste elsewhere and it gives you something like this:
Basically, it’s an “iPhone without a screen,” is how Engadget hears it. Oh — and it will cost only $99, supposedly.
Read more: http://techcrunch.com/2010/05/28/new-apple-tv/#ixzz0pH6qJPa4
You wanted to just paste the top single sentence, but some company thought it would be a brilliant idea to include some link spam into your clipboard buffer as well. The company responsible for this is called Tynt (affectionately called Taint around the web), and they are generating a lot of bad press for themselves with this annoying ‘technology’ if you could even call it that.
Stopping the copy/paste link spam
There’s a few ways to stop the Tynt garbage from appearing in your copy and pasted web text, the first involves editing your /etc/hosts file. You may recall that you can edit your /etc/hosts file to block access to websites on your Mac, well that is exactly what we’re going to do, block Tynt’s Javascript from working.
- Using your favorite text editor, edit /etc/hosts (you will need admin privileges)
- Add a new line to the file and type this exactly:
- Save /etc/hosts
127.0.0.1 tcr.tynt.com
For changes to take effect, you need to flush your Mac DNS, so launch the Terminal and type the following:
dscacheutil -flushcache
Done, now your web browsing experience should be significantly improved as you don’t have to deal with the Tynt garbage filling up your clipboard anytime you copy and paste text from websites that use it. I came across this method on DaringFireball, who has an excellent summary of Tynt and its general annoying and hostile nature.
Block Tynt copy/paste spam with browser extensions
If mucking around in system files is not your thing, you can also block Tynt clipboard spam by installing extensions into your web browser of choice:
- Safari 5 Extension – TyntBlocker (installs automatically) – Developer home
- Chrome Extension – Tynt blocker for Chrome
If you install one of these browser extensions, you won’t need to use the above method of editing your hosts file. Oh and yes, these techniques work on either a Mac or a PC (Windows or Linux for that matter).
Copy/paste spam problem solved!
You can also go to the Tynt site and opt out:
http://www.tynt.com/support/opt-inout
Tynt is one of the most annoying things on the web, next to pop-up ads, link-hover ads, and those full page splash countdown crap ads with some Flash disaster running inside them. Who thinks these things are a good idea to implement?