Clean Up Google!

Removes doodles, ads, and many other annoyances on the Google main page

Bu betiği kurabilmeniz için Tampermonkey, Greasemonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Violentmonkey gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

Bu betiği kurabilmeniz için Tampermonkey ya da Userscripts gibi bir kullanıcı betiği eklentisini kurmanız gerekmektedir.

You will need to install an extension such as Tampermonkey to install this script.

Bu komut dosyasını yüklemek için bir kullanıcı komut dosyası yöneticisi uzantısı yüklemeniz gerekecek.

(Zaten bir kullanıcı komut dosyası yöneticim var, kurmama izin verin!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Zateb bir user-style yöneticim var, yükleyeyim!)

// ==UserScript==
// @name        Clean Up Google!
// @namespace   ic55-userscript-normalgoogle
// @description Removes doodles, ads, and many other annoyances on the Google main page
// @include     *www.google.*
// @version     1.01
// @grant       none
// ==/UserScript==

//define elements to be removed
var gLogo = document.getElementById('hplogo'); //any logo + share buttons
var chromeAd = document.getElementById('prt'); //advertisment for Google Chrome
var textAd = document.getElementById('prm-pt'); //text below search bar
//define required elements for logo change
var newLogo = document.createElement('img');
var logoSpace = document.getElementById('lga');

//remove elements
chromeAd.parentNode.removeChild(chromeAd);
textAd.parentNode.removeChild(textAd);
gLogo.parentNode.removeChild(gLogo);

//insert new logo
newLogo.id = 'hplogo'; //must be hplogo to hide on auto search
newLogo.src = 'http://www.google.com/images/srpr/logo9w.png';
newLogo.style = 'padding-top: 110px; height: 95px; width: 269px;';
logoSpace.insertBefore(newLogo, logoSpace.childNodes[0]);