--- /dev/null
+// ==UserScript==
+// @name auto-go-to-image
+// @namespace https://jasonwoof.com/
+// @grant none
+// @description skip splash screen on image hosting sites
+// @version 5
+// ==/UserScript==
+
+(function()
+{
+ var add_css = function(css) {
+ var style = document.createElement("style");
+ style.type = "text/css";
+ style.appendChild(document.createTextNode(css));
+ document.getElementsByTagName("head")[0].appendChild(style);
+ }
+
+ add_css(
+ "#overlayBg.overlayBg, #popupOverlay.popupOverlay { display: none !important; } " +
+ // "#main_image, #imagen img, #shortURL-content img { width: auto !important; height: auto !important; max-height: none !important; }" +
+ "img { width: auto !important; height: auto !important; max-height: none !important; } " +
+ "#resized { display: none !important; } " +
+ "#full_image { max-width: 100% !important; position: absolute !important; z-index: 10; } "
+ );
+
+ // this should zoom into the image on imgnip.com anyway
+ // window.addEventListener("load", function(e) {
+ // setTimeout(function() {window.adjustImage();}, 1000);
+ // }, false);
+})();