[ all ] [ g / s / fur / art / 3dcg / f / rp / req / p2p / dis / lit / kaki ] [ SEARCH ]

/dis/ - Discussion

Name
Email
Subject
Comment
File
Password (For file deletion.)

The site was updated to be a lot faster. Some things are still being updated. If you have questions or suggestions, see this thread

 No.12222

I loved the button on the old gurochan that automatically expanded all images. Was really useful on mobile so it didn't yank your view around every time you clicked on an image. Is there any way we can have that back? Or was that something unique to the previous website?

 No.12223

ill add it to my to-do list :)

 No.12366

Here's a user script that both limits images to screen width when expanded as well as an "expand all" besides the "gallery mode" checkbox:
// ==UserScript==
// @name Insert Helpers
// @description Adds some convenience features to guro.wtf
// @match *://img.guro.wtf/*domain=guro.wtf
// @grant none
// ==/UserScript==

(function() {
'use strict';

console.log("patching guro.wtf");

let on_viewer_page = window.location.pathname.endsWith("koko.php");

let previews = Array.from(document.querySelectorAll("img.postimg"));

let expandAll = function () {
for(let x of previews) {
x.click();
}
};

let style = document.createElement("style")
style.innerText = "img.postimg { max-width: 100%; } img.expandimg { max-width: 100%; }";
document.head.appendChild(style)

let galfuncs = document.getElementById("galfuncs");
if(galfuncs) {
var btn = document.createElement("button");
btn.innerText = "Expand all";
btn.style.margin = "4px";
btn.addEventListener("click", expandAll);
galfuncs.appendChild(btn);
}
})();

 No.12369

This feature has been added to the offical script.



[Return][Go to top] Catalog [Post a Reply]
Delete Post [ ]
[ all ] [ g / s / fur / art / 3dcg / f / rp / req / p2p / dis / lit / kaki ] [ SEARCH ]