Posted By

f on 05/18/09


Tagged

siteDependent


Versions (?)

flickr


 / Published in: JavaScript
 

URL: javascript: location.href = "http://flickr.com/photo.gne?id=" + /\d+(?=_)/.exec(location.pathname);

Link from static image to original image page.

  1. /*
  2. javascript: location.href = "http://flickr.com/photo.gne?id=" + /\d+(?=_)/.exec(location.pathname);
  3. */
  4. location.href = "http://flickr.com/photo.gne?id=" + /\d+(?=_)/.exec(location.pathname);

Report this snippet  

You need to login to post a comment.