Google Product Forum - Help Forum - Compact and Minimal

Google Product Forum - Help Forum - Compact and Minimal - After Material Design Rewrite 2015/05/15 - http://pushka.com/coding-donation

当前为 2015-06-04 提交的版本,查看 最新版本

// ==UserScript==
// @name        Google Product Forum - Help Forum - Compact and Minimal
// @namespace   english
// @description Google Product Forum - Help Forum - Compact and Minimal - After Material Design Rewrite 2015/05/15  - http://pushka.com/coding-donation
// @include     http*://*productforums.google.com/forum*
// @include     http*://*groups.google.com/forum*
// @version     3.0
// @run-at document-start
// @grant       GM_addStyle
// ==/UserScript==


// Main - CSS hides some block elements and expands other main divs to 100% 
 

var style = document.createElement('style');
style.type = 'text/css';


style.innerHTML = '     /*\n*//*header banners*//*\n*/.A0FHG6C-o-a,  .A0FHG6C-S-O{display: none !important;}/*\n*//*\n*//*main list and site padding*//*\n*/.A0FHG6C-S-w {/*\n*/  margin: 10px 0 10px !important;/*\n*/}/*\n*/.A0FHG6C-S-x {/*\n*/  margin: 10px 0 10px 22px !important;/*\n*/}/*\n*/.A0FHG6C-S-w .A0FHG6C-S-g {/*\n*/  padding: 0 !important;/*\n*/}/*\n*/.A0FHG6C-S-v {/*\n*/  padding: 10px 0 !important;/*\n*/}/*\n*//*\n*/.A0FHG6C-S-J {/*\n*/  min-height: 30px !important;/*\n*/  padding: 10px 0 10px !important;/*\n*/}/*\n*//*\n*//*inner list text *//*\n*/.A0FHG6C-S-j .A0FHG6C-S-E {/*\n*/  padding-top: 5px !important;/*\n*/  padding-bottom: 5px !important;/*\n*/}/*\n*/.A0FHG6C-V-l { /*\n*/  padding: 5px 0 !important;/*\n*/}/*\n*/.A0FHG6C-S-y { /*\n*/  padding-top: 10px !important; /*\n*/}/*\n*//*\n*//**/      ';


document.getElementsByTagName('head')[0].appendChild(style);