Skip to content

Instantly share code, notes, and snippets.

@Jessidhia
Last active December 21, 2015 11:04
Show Gist options
  • Save Jessidhia/3172387 to your computer and use it in GitHub Desktop.
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.
// ==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