Skip to content

Instantly share code, notes, and snippets.

@koteq
Created May 5, 2017 12:37
Show Gist options
  • Save koteq/465b6968a3eaad7ef72a3c94403211a0 to your computer and use it in GitHub Desktop.
Save koteq/465b6968a3eaad7ef72a3c94403211a0 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Sankaku fast pagination
// @version 0.1
// @match *://chan.sankakucomplex.com/*
// @grant none
// @run-at document-start
// ==/UserScript==
/* jshint esnext: true */
const originalSetTimeout = window.setTimeout;
window.setTimeout = function (...args) {
if (/FADE_IN_DURATION/.test(args[0])) {
args[1] /= 100;
}
originalSetTimeout(...args);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment