Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by whitelisting our website.

large

Cuil should really check their sources

There is nothing like a new service and Cuil.com is no exception. Like myself many people search for their own name. Since I was so lucky having the same name as an old Swedish communist party leader Lars Werner I could easily get “lost” in the information jungle.

I have done my job of linking my site to several download sites and since Google does count how many links you have incoming you rank higher on their list (Check it out)

When Cuil want to present information regarding my name, they use their “Wiki sources” and create a Swedish categorized box and start linking known pictures to the links below, here is the results
Cuil results
I can tell you right now, that guy on the picture is not me 🙂 I don’t know who it is and I really don’t care. But to promote my homepage I want the search to be relevant for me. Hopefully the Cuil guys will fix it after I contact them.

Secondhand they continue to use the picture they got and linking it to several places in later searches, like this
Cuil search for Lars Werner page 2

A funny result with “dumb” computer indexing solutions is that the old drunk bastard Lars Werner really looks like this
Lars Werner Left party leader
These guys doesn’t look very alike, do they?

One Swedish attorney, also named Lars Werner 🙂 , is the victim of Cuil facethrowing (if that is really an expression). Here is his picture that has been used all over the place
Lars Werner attorney
See the resemblance?

Another thing: Since the picture is so big I guess Cuil has either manually processed the picture or have an automated face recognition system to clip the pictures. Either way this is wrong when the sources isn’t checked and Cuil should stop the practice until they can verify correct names to links.

I take this “dilemma” with big ease, but Cuil could really piss somebody off, beware!

Codeguru.com inline ads removal script

I have been using codeguru.com for years and the inline commercials/ads are just taking up to much space. Not to talk about the forums with the “Click to remove” ad. Really annoying.

Most of you uses Firefox and you have probably heard about the Greasemonkey scripts and it is the bomb! If you don’t have it installed, get it here https://addons.mozilla.org/en-US/firefox/addon/748

Now for the script, download it from here: codeguru.user.js or from userscripts.org (great site)

If nothing works then add your own script with the site *.codeguru.com* as site to react to

// ==UserScript==
// @name           Codeguru Inline Ads Remover
// @namespace      http://lars.werner.no
// @description    Removes inline commercials at codeguru.com and the forum
// @include        *.codeguru.com*
// ==/UserScript==

var isForum = (location.href.indexOf('/forum') != -1);
var isArticle = (location.href.indexOf('/article.php') != -1);
var isMain = (location.href=='http://codeguru.com') || (location.href=='http://www.codeguru.com') ||
(location.href=='http://codeguru.com/') || (location.href=='http://www.codeguru.com/');

//Gets the elements by it class
function getElementsByClass(searchClass, node, tag)
{
    var classElements = new Array();
    if (node === null) { node = document; }
    if (tag === null) { tag = '*'; }
    var els = node.getElementsByTagName(tag);
    var elsLen = els.length;
    var pattern = new RegExp("(^|\\\\s)"+searchClass+"(\\\\s|$)");
    for (i = 0, j = 0; i < elsLen; i++) {
        if ( pattern.test(els[i].className) ) {
            classElements[j] = els[i];
            j++;
        }
    }
    return classElements;
}

//Hides the class we're looking for
function removeClass(searchClass, node, tag)
{
    var cElements = getElementsByClass(searchClass,node,tag);
    if (cElements.length > 0)
    {
        for (i = 0; i < cElements.length; i++)
        {
	    cElements[i].parentNode.style.display='none';

//Alternative to just remove that child
//            cElements[i].parentNode.removeChild(cElements[i]);
        }
    }

}

//Removes the inline commercial in an article
function removeInLine()
{
  if(document.body.innerHTML.match('') )
  {
	//Get positions
	var first = document.body.innerHTML.search(//gi);
	var last = document.body.innerHTML.search(/') )
  {
	//Get positions
	var first = document.body.innerHTML.search(//gi);
	var last = document.body.innerHTML.search(//gi);
	var length = document.body.innerHTML.length;

	//Only show what we want to ;)
 	var text = document.body.innerHTML.substring(0, first);
	text = text + document.body.innerHTML.substring(last, length);
	document.body.innerHTML = text;
  }
}

////////////////////////////////////////////////////////
//Remove the silly adds who blocks 1/4 of your screen...
if (isForum)
{
  removeClass("clickhere", document, "span");
}
else
{
 if(!isMain)
 {
  //Remove the silly inline ads
  if(isArticle)
  {
    removeInLine();
  }
  else
  {
    removeInLineList();
  }
 }
}

Notify bugs in comments please…