hail2u (owner)

Revisions

gist: 201011 Download_button fork
public
Description:
SimpldR
Public Clone URL: git://gist.github.com/201011.git
Embed All Files: show embed
SimpldR.user.js #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// ==UserScript==
// @name SimpldR
// @namespace http://hail2u.net/
// @description Simple + ldR = SimpldR
// @include http://reader.livedoor.com/reader/*
// ==/UserScript==
 
// This user script is based on: http://d.hatena.ne.jp/lurker/20060826/1156599405
 
GM_addStyle("*{font-family:'Lucida Grande','Trebuchet MS',sans-serif;}pre,code,kbd,samp,var{font-family:Monaco,'Andale Mono',monospace !important;}body img{max-width:100% !important;}.channel{background-color:#ffffff !important;}.channel a{color:#000000 !important;}.title{font-size:30px !important;}.channel_toolbar{padding-bottom: 1em !important;border-bottom: 1px solid #000000 !important;background-color: #ffffff !important;}.item{border-bottom:1px solid #000000 !important;}.even{background-color: #ffffff !important;}.hilight{background-color:#ffffff !important;}.item_title{font-size:18px !important;}");
 
var execute = function (f) {
  location.href = "javascript:void (" + encodeURIComponent(f) + ")()";
};
 
execute(function () {
  register_hook("after_subs_load", function () {
    Control.toggle_fullscreen();
    Control.toggle_fullscreen();
    Control.toggle_leftpane();
    Control.read_head_subs();
  });
});