Greasy Fork

Greasy Fork is available in English.

Crunchyroll: Larger Manga Reader

Use more space for the manga reader when reading manga at Crunchyroll.

当前为 2017-01-05 提交的版本,查看 最新版本

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name        Crunchyroll: Larger Manga Reader
// @icon        http://crunchyroll.com/favicon.ico
// @author      stolemyowncar
// @namespace   http://www.crunchyroll.com/forumtopic-886883/two-suggestions-for-the-manga-reader
// @description Use more space for the manga reader when reading manga at Crunchyroll.
// @include     http://www.crunchyroll.com/comics_read/manga*
// @include     http://www.crunchyroll.com/comics_read/*/manga*
// @version     1
// @grant       none
// ==/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(
    '#header_beta { position:absolute; width:100%; } ' +
    '#header_beta:hover { z-index:5; }' + 
    '#showmedia_mangareader_title { display:none; }'
);
var container2=document.getElementById('template_container');
var container3=document.getElementById('template_body');
var container=document.getElementById('showmedia_mangareader_container');
container.style.height="1000px";
container.style.width="100%";
container2.style.width="100%";
container3.style.width="95%";
var player=document.getElementById('showmedia_videoplayer_object');
player.style.height="1000px";
var actualplayer=player.getElementsByTagName("embed")[0];
actualplayer.style.height="950px";