spoiler-img

2ch.hk.

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

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

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

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

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

You will need to install a user script manager extension to install this script.

(У мене вже є менеджер скриптів, дайте мені встановити його!)

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

// ==UserScript==
// @name          spoiler-img
// @namespace     http://userstyles.org
// @description	  2ch.hk.
// @author        xsdsadxdsa
// @match         https://2ch.hk/* 
// @homepage      https://greatest.deepsurf.us/ru/scripts/512903-spoiler-img
// @run-at        0
// @version       0.1
// ==/UserScript==
(function() {var css = "";
if (false || (new RegExp("^http(|s)://(|www.)2(|-)ch.(so|ru|hk|ec|pm|re|tf|wf|yt|life).*$")).test(document.location.href))
	css += [
		"@namespace url(http://www.w3.org/1999/xhtml);",
		"/* your code goes here */",
		"/*@-moz-document regexp(\"http(|s)://(|www.)2(|-)ch\\.(so|ru|hk|life|ec|pm|re|tf|wf|yt).*\")*/ ",
		".rmenu.desktop, .board-info, .board-banner, #de-main hr, hr.pre-rekl, .passcode-banner.desktop, .rekl, .news, .top-user-boards{",
		"    display: none !important;",
		"}",
		"  ",
        ".ctlg__thread img:hover {",
		"    opacity: 1;",
		"}",
        ".ctlg__thread img {",
		"    opacity: 0.12;",
		"}",
		".post__image-link {",
		"    opacity: 0.33;",
		"}",
        ".mv__meta {",
		"    opacity: 1;",
		"}"
	].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);
	}
}
})();