Skip to content

Instantly share code, notes, and snippets.

@youpy
Created June 18, 2011 05:02
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save youpy/1032819 to your computer and use it in GitHub Desktop.
Save youpy/1032819 to your computer and use it in GitHub Desktop.
// ==UserScript==
// @name Gyazo.com: Redirect to image
// @namespace http://buycheapviagraonlinenow.com/
// @include http://gyazo.com/*
// @include http://cache.gyazo.com/*
// ==/UserScript==
/* jslint browser: true, maxerr: 50, maxlen: 80, indent: 4 */
// Edition 2011-06-17
if (/^\/[0-9a-f]{32}$/.test(location.pathname)) {
location.pathname += '.png';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment