Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Block an annoying Javascript that affects Copy/Paste' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Block an annoying Javascript that affects Copy/Paste
Authored by: arkayn on Jun 01, '10 08:38:19AM
I normally edit my hosts file with Textedit, but you have to do it via root.
sudo /Applications/TextEdit.app/Contents/MacOS/TextEdit /etc/hosts
That opens Textedit with root powers. Of course I also use Noscript on Firefox so do not see those things normally.

[ Reply to This | # ]
Block an annoying Javascript that affects Copy/Paste
Authored by: jimothy on Jun 02, '10 07:53:14AM
There's a shorthand version of that:
sudo open -e /etc/hosts
"open -e" means "open with TextEdit"

[ Reply to This | # ]