Dynasty Scans maximized fullscreen reader

Maximizes size of manga page on dynasty scans.

K instalaci tototo skriptu si budete muset nainstalovat rozšíření jako Tampermonkey, Greasemonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Violentmonkey.

K instalaci tohoto skriptu si budete muset nainstalovat rozšíření jako Tampermonkey nebo Userscripts.

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

K instalaci tohoto skriptu si budete muset nainstalovat manažer uživatelských skriptů.

(Už mám manažer uživatelských skriptů, nechte mě ho nainstalovat!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(Už mám manažer uživatelských stylů, nechte mě ho nainstalovat!)

// ==UserScript==
// @name         Dynasty Scans maximized fullscreen reader
// @namespace    http://tampermonkey.net/
// @version      0.2
// @description  Maximizes size of manga page on dynasty scans.
// @author       You
// @match        https://dynasty-scans.com/*
// @grant        none
// ==/UserScript==

(function() {
    'use strict';
    var head, style;
    head = document.getElementsByTagName('head')[0];
    if (!head) { return; }
    style = document.createElement('style');
    style.type = 'text/css';
    style.innerHTML = '#reader #image img { max-height: 100vh; } #reader #fullscreen2 { top: auto !important; bottom: 2px !important; right: 4px !important; } #reader #resize2 { top: auto !important; right: 40px !important; bottom: 2px !important; }';
    head.appendChild(style);
})();