// ==UserScript== // @run-at document-start // @name LightShot Direct Link (prntscr.com) // @version 1.0 // @description Get directly the image url // @author Catarax // @match https://prnt.sc/* // @require http://code.jquery.com/jquery-latest.js // @namespace https://greasyfork.org/users/2290 // @downloadURL none // ==/UserScript== (function() { 'use strict'; var str = ""+window.location+""; var res = str.split("/"); window.location.href = "http://www.camping-le-bivouac.com/104/decoupeur_stats/prnt.php?prnt="+res[3]+""; })();