Greasy Fork

Greasy Fork is available in English.

起点pc阅读全屏

make qidian read with fullwidth

当前为 2023-07-29 提交的版本,查看 最新版本

// ==UserScript==
// @name         起点pc阅读全屏
// @license      Apache License 2.0
// @namespace    https://www.52dzd.com/
// @version      0.5
// @description  make qidian read with fullwidth
// @author       xyfy
// @match        https://read.qidian.com/chapter/*
// @match        https://www.qidian.com/chapter/*
// @match        https://vipreader.qidian.com/chapter/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=qidian.com
// @grant        none
// ==/UserScript==

(function() {
    'use strict';

    setTimeout(() =>dofit(), 3000)
    function dofit(){
        var left= document.getElementById("left-container");
        //console.debug(left);
        left.remove();
        var reader=document.getElementById("reader");
        reader.style="--width: 90%; --side-width: 0px;";
    }

})();