Skip to content

Instantly share code, notes, and snippets.

@NO-ob
Created June 24, 2020 18:11
Show Gist options
  • Save NO-ob/27c334026920880d6bd9b64e8b2e3a95 to your computer and use it in GitHub Desktop.
Save NO-ob/27c334026920880d6bd9b64e8b2e3a95 to your computer and use it in GitHub Desktop.
GelbooruResize
// ==UserScript==
// @icon https://gelbooru.com/favicon.ico
// @name Gelbooru Resize
// @namespace kannalo
// @version 0.1
// @description try to take over the world!
// @author You
// @match *://gelbooru.com/index.php?page=post&s=view*
// @grant none
// ==/UserScript==
(function() {
'use strict';
document.getElementById("image").style.maxWidth = document.getElementById("post-view").clientWidth + "px";
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment