NOTICE: By continued use of this site you understand and agree to the binding Terms of Service and Privacy Policy.
// ==UserScript==
// @name Imgur Login Bypass
// @namespace
// @version 0.2
// @description A small script that bypassess Imgur's NSFW login requierment for single image posts.
// @author 128bitz
// @license GPL-3.0-or-later; http://www.gnu.org/licenses/gpl-3.0.txt
// @match https://imgur.com/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
//Generate image link
var URL = window.location.href;
var ID = URL.slice(18);
var Link = "https://i.imgur.com/".concat(ID)+".jpg";
//Insert image into page
var wall = document.getElementsByClassName("wall center")[0];
wall.style = "width: 55%;";
wall.innerHTML = "<img src='"+Link+"' width = '100%'>";
document.getElementsByClassName("wall-footer")[0].innerHTML = "";
})();