rexread

For educational purposes only! Using this script as well as the consequences of using it are user's own resonsibility.

スクリプトをインストールするには、Tampermonkey, GreasemonkeyViolentmonkey のような拡張機能のインストールが必要です。

You will need to install an extension such as Tampermonkey to install this script.

スクリプトをインストールするには、TampermonkeyViolentmonkey のような拡張機能のインストールが必要です。

スクリプトをインストールするには、TampermonkeyUserscripts のような拡張機能のインストールが必要です。

このスクリプトをインストールするには、Tampermonkeyなどの拡張機能をインストールする必要があります。

このスクリプトをインストールするには、ユーザースクリプト管理ツールの拡張機能をインストールする必要があります。

(ユーザースクリプト管理ツールは設定済みなのでインストール!)

このスタイルをインストールするには、Stylusなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus などの拡張機能をインストールする必要があります。

このスタイルをインストールするには、Stylus tなどの拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

このスタイルをインストールするには、ユーザースタイル管理用の拡張機能をインストールする必要があります。

(ユーザースタイル管理ツールは設定済みなのでインストール!)

このスクリプトの質問や評価の投稿はこちら通報はこちらへお寄せください
// ==UserScript==
// @name         rexread
// @namespace    http://techstreet404.blogspot.com
// @version      3.4
// @description  For educational purposes only! Using this script as well as the consequences of using it are user's own resonsibility.
// @author       rishb_rex
// @match        *:///*.geeksforgeeks.org/*
// @match        *.geeksforgeeks.org/*
// @match        file:///*
// ==/UserScript==

(function() {
    'use strict';

    // Your code here...
    $=jQuery;
    $(document).ready(function() {
        window.r=1;
        $('#readmode').html('☼');
            $('#secondary').css('display','none');
            $('.leftSideBarParent').css('display','none');
            $('.site-content').css('margin-left', 'auto'); $('.site-content').css('margin-right', 'auto');
            $('.site-content').css('width', '60%');
            $('.site-content').css('display', 'block');
            $('.site-content').css('', '60%');
            $('#main').css('background-color','black');
            $('#main').css('display','flex');
            $('#main').css('align-item','center');
            $('#content').css('background-color','white');
            $('#site-navigation').css('display','none');
            $('#page').css('display','none');
            $('.author_info_box').css('display', 'none');
            $('.AdsParent').css('display', 'none');
            $('.entry-meta').css('display', 'none');
            $('.plugins').css('display', 'none');
            $('hr').next().css('display', 'none');
            $('hr').next().next().css('display', 'none');
    });
})();

(function() {
    var isShift = false;$(document).keyup(function (e) {
        if(e.which == 16) isShift=false;
    }).keydown(function (e) {
        if(e.which == 16) isShift=true;
        if(e.which == 38 && isShift == true) {
            $=jQuery;
            $('.site-content').css('width',"+=60");
        }
        if(e.which == 40 && isShift == true) {
            $=jQuery;
            $('.site-content').css('width',"-=60");
        }
        if(e.which == 191 && isShift == true) {
            $=jQuery;
        if(window.r){
            $('.leftSideBarParent').css('display','inline');
            $('.site-content').css('margin', '0px 0px 0px 0px');
            $('.site-content').css('width', '52%');
            $('#main').css('background-color','white');
            $('#site-navigation').css('display','inline');
            $('#page').css('display','inline');
            $('.author_info_box').css('display', 'inline');
            $('.AdsParent').css('display', 'inline');
            $('.entry-meta').css('display', 'inline');
            $('.plugins').css('display', 'inline');
            $('hr').next().css('display', 'inline');
            $('hr').next().next().css('display', 'inline');
            $('#secondary').css('display','inline');
            window.r=0;
        }
	else{
            $('#readmode').html('☼');
            $('#secondary').css('display','none');
            $('.leftSideBarParent').css('display','none');
            $('.site-content').css('margin-left', 'auto'); $('.site-content').css('margin-right', 'auto');
            $('.site-content').css('width', '60%');
            $('.site-content').css('display', 'block');
            $('.site-content').css('', '60%');
            $('#main').css('background-color','black');
            $('#main').css('display','flex');
            $('#main').css('align-item','center');
            $('#content').css('background-color','white');
            $('#site-navigation').css('display','none');
            $('#page').css('display','none');
            $('.author_info_box').css('display', 'none');
            $('.AdsParent').css('display', 'none');
            $('.entry-meta').css('display', 'none');
            $('.plugins').css('display', 'none');
            $('hr').next().css('display', 'none');
            $('hr').next().next().css('display', 'none');
            window.r=1;
        }
        }
    });
})();