Created
March 14, 2013 09:15
-
-
Save june29/5159987 to your computer and use it in GitHub Desktop.
Maximize LDR view
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==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