Rick's b.log - 2010/11/24 |
|
It is the 21st of November 2024 You are 3.138.114.140, pleased to meet you! |
|
mailto:
blog -at- heyrick -dot- eu
Now, I'm not going to go all crybaby and defect to Bing! swearing never to touch Google again. I'm too enamoured with StreetView for that. And, besides, only lusers whinge and defect. Real Geeks do something a little more pro-active. For God's sake, it's the Internet and it's the 21st century. Let's get creative!
Press Shift-Ctrl-E to call up the ABP settings, and add a new rule. In that rule, type exactly:
You will probably also want to repeat these three entries with modifications for any localised versions of Google that you visit, for example:
Done? Okay. Restart Firefox. Bam, no more little magnifying glass and no more annoying bandwidth-sucking over-sensitive unwanted pointless waste-of-effort (get the feeling I don't like this feature?) preview.
Such as a preview sucked purely in order to display a pretty picture.
Well. No longer on this b.log.
If you're running a site off PHP (or can sneak some PHP into your HTML), then you might want to consider the following:
It will have the following, rather pleasing, effect:
Google's pointless preview
Don't get me wrong, I like Google. But recently they've been throwing new functionality at their systems for reasons that don't seem much beyond "because we can".
One recent addition really agitates the hell outta me. It's that magnifying-glass preview thing. I mean, really, what the hell is the point? Up will appear a little box showing a nice graphic of how the page looks. Um... And?
Stopping it on the browser
The most useful for people is to kill this crap stone-dead on their browser. If you're running Firefox with AdBlockPlus, it's a doddle.
google.com###vspb
Now add this rule:
google.com##.vspi
Note that it is hash-hash-dot now, not three hashes. One final rule:
google.com##.vspib
google.co.uk###vspb
- for British Google.co.uk
google.fr###vspb
- for French Google.fr
google.co.jp###vspb
- for Japanese Google.co.jp
And so on. Remember, it's all three for each regional version.
And doing likewise on the server side of things
I am soon to implement a modification to my b.log that if an IP address fetches too many pages in too short a time, it will be blocked and will receive 404s from that point on. This is because certain search engines have no respect whatsoever and scrape my site by clobbering the site with a new page every second. This isn't overly important to me as my provider doesn't run a bandwidth limitation, but for a lot of people, they do have to consider bandwidth allocations.
// stick it to Google preview
if (strpos( $_SERVER["HTTP_USER_AGENT"], "Google Web Preview") !== FALSE)
{
echo("<html><body bgcolor=black><h1 align=center><big><big><font color=white>Say ");
echo("<b><u>NO</u></b> to Google's<br> pointless preview!</font></big></big></h1>");
echo("</body></html>");
exit();
}
The HTML is not supposed to be good, it is supposed to be the absolute minimum necessary to get the job done.
Rick, 24th November 2010, 04:37 Oh, and yes, I have noticed that the first and last entry on the Google example are the same page. Go figure...Rob, 25th November 2010, 09:37 It would probably be better to send too-many-request clients a 403 rather than a 404.. But I agree re the pointlessness of the google preview. Not that I've seen it, think I've got too much js disabled..Bob, 21st September 2011, 08:42 Agree - Google's tin ear to stuff like this may be its undoing.
© 2010 Rick Murray |
This web page is licenced for your personal, private, non-commercial use only. No automated processing by advertising systems is permitted. RIPA notice: No consent is given for interception of page transmission. |