[Greasemonkey] modify a javascript array

John gm at plsek.id.au
Tue Jul 5 13:38:03 EDT 2005

Tobias Orterer wrote:

>hmm nice idea! 
>but i cant change the css...
>its not my side i want to modify ;)
Sorry, I thought this was a greasemonkey script question! Because you 
can change/add CSS with GM

function addGlobalStyle(css) {
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = css;
addGlobalStyle('span[title]:after{content:" "attr(title);}');


More information about the Greasemonkey mailing list