Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GM_addStyle not working

I am trying to make this very simple script to replace the header on google:

// ==UserScript==
// @name           Hell yeah
// @description    HELL YEAH
// @include        http://www.google.*
// ==/UserScript==
GM_addStyle("div #logo {background-image: url('http://img220.imageshack.us/img220/5676/1251559315224.jpg') !important}");

But when I try to use it nothing happens. What am i doing wrong?

like image 834
Jonno_FTW Avatar asked Sep 01 '09 01:09

Jonno_FTW


1 Answers

I think you should add this:

 // @grant    GM_addStyle
like image 78
Vanuan Avatar answered Sep 24 '22 09:09

Vanuan