July 04, 2009

How to Completely remove Advertisements from Orkut.

You must have noticed orkut displaying ads on profiles and orkut communities. If you hate those ads (though i would see them as the only revenue generating option Google has when Orkut comes into the radar), you can completely disable those advertisements using a small greasemonkey script we have created.

  • Make sure you have Firefox and Greasemonkey Installed.
  • If u have already installed Greasemonkey then click Tools-Greasemonkey-Enabled
  • The greasemonkey will be enabled.
  • Use this code...
// ==UserScript==
// @name Remove Ads from Orkut Pages
// @namespace Mayank Pandey
// @description It removes Orkut ads from Orkut's pages.
// @include http://*.orkut.*/*
// ==/UserScript==
var css = "#rhs_ads{display: none !important;}";
if (typeof GM_addStyle != "undefined") {
GM_addStyle(css);
} else if (typeof addStyle != "undefined") {
addStyle(css);
} else {
var heads = document.getElementsByTagName("head");
if (heads.length > 0) {
var node = document.createElement("style");
node.type = "text/css";
node.appendChild(document.createTextNode(css));
heads[0].appendChild(node);
}
}


  • Done! The script should perfectly do it’s job. You wont see an ad again on Orkut Pages.

1 comment:

Unknown said...

d script shud b saved in JS format...
oderwise how cn greasemonkey fetch it..
upload dis script wid name removeadsfromorkutpages.user.js
n provide d link...so dat greasemonkey can directly fetch it


newaz gud work....keep going on...