PDA

View Full Version : Little script that converts lightshot link to normal link..



rj
12-30-2013, 11:08 PM
const
_lightShotUrl = 'http://prntscr.com/2f9l3z';
openpage = false;

var
link:string;

begin
link := between('photo"/> <meta name="twitter:title" content="Screenshot"/> <meta name="twitter:site" content="@light_shot"/> <meta name="twitter:description" content="Captured with Lightshot"/> <meta name="twitter:image:src" content="', '"/> <meta property="og:site_name" content="Lightshot"', getPage(_lightShotUrl));
Writeln('Link to Barbradys picture: ' , link);
if openpage then
openwebpage(link);
end.


Just for BMWxi; who is always whining about lightshot having 'too many ads'

Ian
12-30-2013, 11:12 PM
Seems like an easier solution is for rjj to just not use lightshot. But thanks you anyway :)

Think you could make it into a chrome plugin that would do it all automatically?