Adfree Gelbooru

Cleans a popular anime image catalogue website off all current ads and visual disturbances.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey, Greasemonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey किंवा Violentmonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

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

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला Tampermonkey यासारखे एक्स्टेंशन इंस्टॉल करावे लागेल..

ही स्क्रिप्ट इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्क्रिप्ट व्यवस्थापक एक्स्टेंशन इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्क्रिप्ट व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला Stylus सारखे एक्स्टेंशन इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

ही स्टाईल इंस्टॉल करण्यासाठी तुम्हाला एक युझर स्टाईल व्यवस्थापक इंस्टॉल करावे लागेल.

(माझ्याकडे आधीच युझर स्टाईल व्यवस्थापक आहे, मला इंस्टॉल करू द्या!)

// ==UserScript==
// @name          Adfree Gelbooru
// @namespace     MB48
// @description	  Cleans a popular anime image catalogue website off all current ads and visual disturbances.
// @author        MB48
// @homepage      https://userstyles.org/styles/141949
// @run-at        document-start
// @version       1.0.2
// @include     http://gelbooru.com/*
// @include     http://youhate.us/*
// @include     https://gelbooru.com/*
// @include     https://youhate.us/*
// ==/UserScript==
(function() {var css = "";
if (false || (new RegExp("^(http|https)://(gelbooru|youhate).(com|us)/.*$")).test(document.location.href))
	css += [
		"#tup, #nup, ins, iframe, .noticeError, .alert{",
		"    display: none!important;",
		"  }",
		"   #paginater > :not(.pagination){",
		"     display: none;",
		"  }",
		"  ",
		"  a > .content{",
		"    display: none!important;",
		"  }",
		"   .content > a{",
		"    display: none!important;",
		"  }",
		"  ",
		"  center > a{",
		"    display:none!important;",
		"  }",
		"  a[target=\"_blank\"]{",
		"    display: none!important;",
		"  }",
		"  .content{",
		"    margin-top: -10px!important;",
		"  }",
		"  .aContain, .hidden-sm{",
		"    display:none!important;",
		"  }",
		"  ",
		"  /*cosmetics*/",
		"  .pagination {",
		"    margin-bottom: 30px;",
		"  }",
		"  ",
		"  div#paginater {",
		"    font-size: 16px!important;",
		"  }",
		"  li.current-page a{",
		"    background: linear-gradient(#004FD5, #1974E5);",
		"    color: #fff;",
		"  }",
		"  ",
		"  #tag-list{",
		"    margin-top: 20px!important;",
		"  }"
	].join("\n");
if (typeof GM_addStyle != "undefined") {
	GM_addStyle(css);
} else if (typeof PRO_addStyle != "undefined") {
	PRO_addStyle(css);
} else if (typeof addStyle != "undefined") {
	addStyle(css);
} else {
	var node = document.createElement("style");
	node.type = "text/css";
	node.appendChild(document.createTextNode(css));
	var heads = document.getElementsByTagName("head");
	if (heads.length > 0) {
		heads[0].appendChild(node);
	} else {
		// no head yet, stick it whereever
		document.documentElement.appendChild(node);
	}
}
})();