Check this out, this is something that Google is working on for the past few months. This is Google's new web search algorithm and infrastructure upgrades. Google is asking for us to test the platform at sanbox2.google.com, would this affect how we optimize websites ? I havent tried but would be playing around the web site just to see how different is it from the current version.
Google Search – Next Generation Sandbox Testkit
Do You Use the Google Counter Script for Search Rankings?
Tagged Under : Bruno, Counter Script, Div, Getelementsbytagname, Google, Google Results, Google Search, Greasemonkey, Lt, Namespace, Num Num, Ordinal Number, Ps Document, Search Google, Search Rankings, Search Result, Serps, Sourcecode, Span, W0, Www Google
As part of my work, I use Google Counter Script which is an addon for Greasemonkey. The script helps me add a numeric count at the left handside of each search results. This is a great help if you are looking for search rankings (although I am looking at this lesser by the day due to other search factors).
If you use this script as well for a long time you might see that the counter doesnt appear. What happened? Basically Google did some changes to its search results <div> tags and that caused the script to break.
If you like to a quick fix, here’s the source code that will fix the current SERPs on Google.I modded this from Bruno Torres’s Google Counter script. Basically added the parts that are bold in the sourcecode below.
// ==UserScript==
// @name Google Counter
// @author Bruno Torres <http://brunotorres.net/>
// @namespace http://brunotorres.net/greasemonkey/
// @description Adds an ordinal number at the left side of each search result on Google results pages. It’s useful if you want to know promptly what position your site is in, whithout counting results “by hand”.
// @include http://google.*/*
// @include http://www.google.*/*
// ==/UserScript==
(function() {
var ps = document.getElementsByTagName(‘li’);
var spans = document.getElementsByTagName(‘span’);
var page = 0;
var count = -1;
var num = window.location.href.match(“num=([0-9]+)”);
num = (num == null)? 10 : num[1];
for (var i = 0, span; span = spans[i]; i++)
if (span.className == ‘i’)
page = span.innerHTML – 1;
for (var i = 0, p; p = ps[i]; i++) {
if (p.className == ‘g’){
count++;
p.innerHTML = ‘<strong>’ + ((count + 1) + (page * num)) + ‘. </strong>’ + ps[i].innerHTML;
}else if (p.className == ‘g w0′){
count++;
p.innerHTML = ‘<strong>’ + ((count + 1) + (page * num)) + ‘. </strong>’ + ps[i].innerHTML;
}
}
})();
