Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Redirect imgur to the raw images skipping the crappy HTML pages
// ==UserScript==
// @name imgur direct images
// @description Redirect to the raw images skipping the crappy HTML pages.
// @include /^https?:\/\/imgur\.com\/[A-Za-z0-9]+$/
// @exclude *imgur.com/vidgif
// @exclude *imgur.com/jobs
// @exclude *imgur.com/about
// @exclude *imgur.com/apps
// @exclude *imgur.com/tos
// @exclude *imgur.com/privacy
// @exclude *imgur.com/removalrequest
// @exclude *imgur.com/advertise
// @exclude *imgur.com/blog
// @exclude *imgur.com/random
// @exclude *imgur.com/search
// @exclude *imgur.com/*.webm
// @version 1.3.3
// @grant none
// @run-at document-start
// ==/UserScript==
(function(){
window.location.replace (window.location.href + ".jpg");
})();
@vekvoid
Copy link

vekvoid commented Oct 20, 2018

Would be nice to exclude the upload page:
// @exclude *imgur.com/upload

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment