Skip to content

Instantly share code, notes, and snippets.

@june29
Created March 14, 2013 09:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save june29/5159987 to your computer and use it in GitHub Desktop.
Save june29/5159987 to your computer and use it in GitHub Desktop.
Maximize LDR view
// ==UserScript==
// @id maximizeldrview
// @name LDR View Maximizer
// @version 1.0
// @namespace http://june29.jp/
// @author june29
// @description Maximize LDR view
// @include http://reader.livedoor.com/reader*
// @run-at document-end
// ==/UserScript==
(function(){
GM_addStyle("#header, #control, #menu, #footer { display: none !important; }");
GM_addStyle("#subs_toolbar, #subs_buttons, #subs_search { display: none !important; }");
GM_addStyle("#ads_bottom { display: none !important; }");
var running_man = document.getElementById("message_box");
var pin_button = document.getElementById("pin_button");
var subs_tools = document.getElementById("subs_tools");
var div = document.createElement("div");
div.setAttribute("style", "height: 50px; padding-left: 35px; background-color: #fff;");
pin_button.setAttribute("style", "width: 29px;");
subs_tools.appendChild(div);
div.appendChild(running_man);
div.appendChild(pin_button);
}());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment