Created
March 3, 2018 22:27
-
-
Save dragontamer8740/74937f8bc184d43ecbe884f3a71c5e25 to your computer and use it in GitHub Desktop.
Hide crappy gallery comments
This file contains hidden or 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 hide comments | |
// @namespace dragontamer8740.hideComments | |
// @description hide gallery comments on a crappy gallery | |
// @version 1 | |
// @grant none | |
// @include http://e-hentai.org/* | |
// @include https://e-hentai.org/* | |
// @match http://e-hentai.org/* | |
// @match https://e-hentai.org/* | |
// @include http://exhentai.org/* | |
// @include https://exhentai.org/* | |
// @match http://exhentai.org/* | |
// @match https://exhentai.org/* | |
// ==/UserScript== | |
var galName=document.getElementById("gn"); | |
/*var galUploader=document.getElementById("gdn");*/ | |
var commentsSection=document.getElementById("cdiv"); | |
/* if it's the crappy gallery */ | |
if(galName.innerHTML.toLowerCase().includes("transmorpher dds") && galName.innerHTML.toLowerCase().includes("banana cream cake")) | |
{ | |
commentsSection.style.display="none"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment