NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript== // @name FullScreen Mangadex // @namespace https://openuserjs.org/users/TallExcitement // @version 0.1 // @description FullScreen Mangadex // @author TallExcitement // @copyright 2019, TallExcitement (https://openuserjs.org/users/TallExcitement) // @license MIT // @match https://mangadex.org/chapter/*/* // @grant none // ==/UserScript== // ==OpenUserJs== // @author TallExcitement // ==/OpenUserJs== (function () { 'use strict'; const b = document.createElement('button'); b.textContent = "fs"; b.addEventListener('click', (e) => { if (!document.fullscreenElement) { document.documentElement.requestFullscreen(); } else if (document.exitFullscreen) { document.exitFullscreen(); } }); b.style.position = 'absolute'; b.style.top = 0; b.style.left = 0; b.style.opacity = 0.3; b.style.zIndex = 9000; document.body.prepend(b); })();