Skip to content

Instantly share code, notes, and snippets.

@crismanNoble
Last active December 11, 2015 22:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crismanNoble/4667837 to your computer and use it in GitHub Desktop.
Save crismanNoble/4667837 to your computer and use it in GitHub Desktop.
javascript:(function(e,a,g,h,f,c,b,d){if(!(f=e.jQuery)||g>f.fn.jquery||h(f)){c=a.createElement("script");c.type="text/javascript";c.src="//ajax.googleapis.com/ajax/libs/jquery/"+g+"/jquery.min.js";c.onload=c.onreadystatechange=function(){if(!b&&(!(d=this.readyState)||d=="loaded"||d=="complete")){h((f=e.jQuery).noConflict(1),b=1);f(c).remove()}};a.documentElement.childNodes[0].appendChild(c)}})(window,document,"1.9.0",function($,L){
var src = 'data:text/html, <textarea style="font-size: 1.5em; width: 100%; height: 100%; border: none; outline: none" autofocus />';
var link = document.createElement('form');
link.action=src;link.id='superSecretLink';
link.target='_blank';
var target = document.getElementsByTagName('body')[0];
target.appendChild(link);
document.getElementsByTagName('form')[document.getElementsByTagName('form').length - 1].submit()
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment