两栏模式下的 google reader, 右边正文是固定宽度, 浪费了不少空间, 字体看起来也太小,不舒服, 每次总要把侧栏关掉再加大字体实在不便. 有了 GreaseMonkey 就方便多了.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
// ==UserScript==
// @name           Google Reader Interface Fine-Tune
// @namespace      kleshwong.com
// @include        https://www.google.com/reader/*
// @include        http://www.google.com/reader/*
// ==/UserScript==

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;
  head.appendChild(style);
}

addGlobalStyle(".entry .entry-body, .entry .entry-title{font-family:'Lucida Grande', '微软雅黑';font-size:16px;line-height:135%;max-width:100%}");

//eof