🏠 Home 

คุณต้องเข้าสู่ระบบหรือลงทะเบียนก่อนดำเนินการต่อ

ComicK - Reveal Comments

The setting "show comments by default" is broken, so I made this userscript to make comments always revealed.


Installer dette script?
// ==UserScript==
// @name         ComicK - Reveal Comments
// @version      0.01.02
// @description  The setting "show comments by default" is broken, so I made this userscript to make comments always revealed.
// @namespace    makewebsitesbetter
// @icon         https://i.postimg.cc/3NMLffrh/greenbox.png
// @include      *comick.io*
// @run-at       document-start
// @require      http://ajax.googleapis.com/ajax/libs/jquery/2.1.0/jquery.min.js
// @require      https://update.greasyfork.org/scripts/383527/701631/Wait_for_key_elements.js
// @license      MIT
// ==/UserScript==
// REVEAL COMMENTS
waitForKeyElements ("div.blur-0", RemoveClicktoRevealMessage);
function RemoveClicktoRevealMessage (jNode) {jNode.css({"display" : "none"});}
waitForKeyElements ("ul#comments-container", RemoveBlur);
function RemoveBlur (jNode) {jNode.css({"filter" : "blur(0px)"});}
waitForKeyElements ("img", RemoveBluronPfps);
function RemoveBluronPfps (jNode) {jNode.css({"opacity" : "1.0"});}
// POPUP HEADER ONLY VISIBLE AT TOP OF PAGE
(function() {
function setPositionBasedOnURL() {
const element = document.querySelector('div.customclass1');
if (element) {
const position = window.location.href.includes("comick.io/comic/") ? 'static' : 'sticky';
element.style.setProperty('position', position, 'important');}}
setInterval(setPositionBasedOnURL, 1000);})();
// MAKE ALL IMAGES THE SAME WIDTH
(function() {
var style = document.createElement("style");
style.type = "text/css";
style.innerHTML = "div.overflow-auto.select-none > div > img {width:900px !important; max-width:900px !important; height:auto !important;}";
document.head.appendChild(style); })();
// REMOVE HORIZONTAL SCROLLBAR ON IMAGES
(function() {
var style = document.createElement("style");
style.type = "text/css";
style.innerHTML = "div.overflow-auto { overflow-x: hidden !important; }";
document.head.appendChild(style); })();
// REMOVE POPUP READER SETTINGS BAR AT BOTTOM
waitForKeyElements ("div#bottom-reader-settings", RemovePopupReaderSettings);
function RemovePopupReaderSettings (jNode) {jNode.css({"display" : "none"});}