Last active
December 21, 2015 11:04
-
-
Save Jessidhia/3172387 to your computer and use it in GitHub Desktop.
Greasemonkey script that removes the blackscreen that's shown when the viewer loses keyboard or mouse focus.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name pixiv novel/comic anti-blackscreen | |
// @namespace https://gist.github.com/3172387 | |
// @description Removes the blackscreen that's shown when the viewer loses keyboard or mouse focus. | |
// @icon http://comic.pixiv.net/favicon.ico | |
// @match *://comic.pixiv.net/viewer/stories/* | |
// @match *://novel.pixiv.net/viewer/stories/* | |
// @version 4 | |
// @updateURL https://gist.github.com/raw/3172387/pixiv_novel_comic_nobs.js | |
// @grant none | |
// ==/UserScript== | |
function removeBlackscreen() { | |
var div = document.getElementById("pauser"); | |
div.parentNode.removeChild(div); | |
} | |
removeBlackscreen(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment