Skip to content

Instantly share code, notes, and snippets.

@technicalpickles
Created September 2, 2011 15:12
Show Gist options
  • Save technicalpickles/1188874 to your computer and use it in GitHub Desktop.
Save technicalpickles/1188874 to your computer and use it in GitHub Desktop.
var gif = document.location.toString().split('#')[0] + $('#gif img').attr('src');
var gifInput = '<input type="text" style="width: 100%" value="' + gif + '"/>';
$('body').prepend(gifInput);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment