Inizio  >  Docs  >  WWW  >  Firefox  
FirefoxFirefox

Index

Greasemonkey Ext.

http://userscripts.org/

To change www.beppegrillo.it web page style (link file JS)

 // ==UserScript==
// @name           cambio stile blog
// @namespace      beppe_blog
// @description    cambio lo stile di beppe
// @include        www.beppegrillo.it
// ==/UserScript==

(function () {
    var style = document.createElement ("style");
    document.body.appendChild (style);
    var ss = document.styleSheets [document.styleSheets.length - 5];
    ss.insertRule (".content { background-color:#333; border-top:0px none; color:#eee; font-family:Verdana,'Trebuchet MS',sans-serif; font-size:18pt; padding:10px 15px 5px; }", 0);
    ss.insertRule (".content p {color:#999;font-family:Verdana,'Trebuchet MS',sans-serif;font-size:16pt;font-weight:normal;line-height:150%;margin-bottom:10px;text-align:left;}", 0);
    ss.insertRule ("#container {background-color:#FFFFFF; border:1px solid #666666; line-height:199%; margin-left:auto; margin-right:auto; margin-top:0px; padding:0px; text-align:left;width:1024px; }", 0);
    ss.insertRule ("#center {float:left;overflow:hidden;width:1000px;}", 0);
    ss.insertRule ("#post_principale { border-right:1px solid #EEEEEE; float:left; margin:20px 10px 20px 0px; width:990px;}", 0);
    ss.insertRule ("#colonna_grillorama { float:right; position:relative; width:210px; right:-300px;}", 0);
}) ();


Torna sł