Sleazy Fork is available in English.
Force long-strip on Dynasty Scans where applicable
// ==UserScript==
// @name Dynasty Stripper
// @namespace http://chireiden.alwinfy.net/
// @version 2026-03-04
// @description Force long-strip on Dynasty Scans where applicable
// @author alwinfy
// @match https://dynasty-scans.com/chapters/*
// @grant none
// @license MIT
// @run-at document-body
// ==/UserScript==
(() => {
'use strict';
function makeLongStrip(pagesDiv) {
if (!window.pages) return;
const starterImg = pagesDiv.querySelector(":scope>img");
window.pages.forEach((page) => {
const newImg = document.createElement("img");
Object.assign(newImg, {
alt: page.name,
src: page.image,
width: page.width,
height: page.height,
className: page.width && page.height && page.height > 2 * page.width ? "tall" : "",
});
pagesDiv.appendChild(document.createElement("div")).appendChild(newImg);
});
window.pages.length = 1;
pagesDiv.querySelectorAll(":scope>img, :scope>.pages-list>.page").forEach((node) => {
node.parentNode.removeChild(node);
});
}
document.querySelectorAll("#chapter-details>.tags>a.label")
.forEach((node) => node.href.endsWith("/tags/long_strip") && makeLongStrip(document.querySelector("#image")));
})();