Log in

No account? Create an account
Mark Donnelly
.:. .::. .::::...... .:::::

January 2016
          1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30

Mark Donnelly [userpic]
How to disable SnapShots (TM)

LiveJournal recently added in a "feature" that displays a snapshot of a link when you hover your mouse over the link. I find that annoying. Happily, there's a simple way to disable it.

Use a text editor to edit your hosts file. For Windows, that's in C:\Windows\System32\drivers\etc\hosts. For Mac and Unix, it's in /etc/hosts. Find the line: localhost

Add in "shots.snap.com", so that it looks like: localhost shots.snap.com

This causes your web browser to attempt to load the SnapShots (TM) functionality from your computer instead of their server, which fails. Presto! No more annoying hovers. You get nothing, not a popup with a broken image; nothing.

Current Mood: accomplished
for the gui inclined...

there is also a checkbox ("graphic previews") on the settings page.

(no subject) - (Anonymous)
Re: for the gui inclined...

It's still a great way to do it, as it protects your users from being bothered by the ads. You can't suggest everyone who visits your page take manual action. Anyway, modifying the hosts file is not necessary. If you hover over a snapshot link, there is an options button in the top of the window. You can disable it for your site or for ALL sites right there in the application.

(no subject) - (Anonymous)
/etc/hosts file

/etc/hosts should be a file on a Mac filesystem. At least, I'm assuming that it is - I don't have a Mac in front of me, but that's where the file lives on any other Unix system. My friends around my office tell me that it exists there on a Mac too.

This may also be of help: http://kb.wisc.edu/middleware/page.php?id=4506.

Also, it looks like the NetInfo Manager from Applications/Utilities can be used as a nicer interface to edit the hosts; to quote http://www.oreillynet.com/cs/user/view/cs_msg/18893:

For me it's easier to open NetInfo Manager rather that looking for a hidden file. So instead of directly editing your /etc/hosts file you can go to /Applications/Utilities/NetInfo Manager

Once you launch NetInfo Manager you will click on "machines" and then "localhost". Now you want to click on the lock in the bottom left corner so that you can edit the info (must be an admin user). Now duplicate "localhost" and rename the duplicate whatever you want your virtual host to be named. So for instance, you change "localhost copy" to "test.icalshare.com".

Now deselect your new machine by clicking on another one. It will ask you if you really want to make the change. Say yes. There you go.

(As an aside, if you want to apply this technique to tons of online advertisers, go to http://www.macwrite.com/critical-mass/mac-os-x-hosts-file-regrouped. They have a database of ad sites, as well as instructions specifically for OS X.)

I hope that's enough to get you going.