Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
javascript:void(function(){%20var%20divId%20=%20'tmLprDiv'%20+%20Math.floor(Math.random()*1000000);%20var%20inputId%20=%20'tmLprUrl'%20+%20Math.floor(Math.random()*1000000);%20var%20divTag%20=%20document.createElement("div");%20divTag.setAttribute("align","center");%20divTag.id%20=%20divId;%20divTag.style.font%20="9pt%20Verdana";%20divTag.style.margin%20=%20"0px%20auto";%20divTag.style.position%20=%20"absolute";%20divTag.style.top%20=%20"10px";%20var%20left%20=%20(screen.width%20-%20350)%20/%202;%20divTag.style.left%20=%20left%20+%20"px";%20divTag.style.padding%20=%20"10px";%20divTag.style.border%20=%20"3px%20solid%20red";%20divTag.style.background%20=%20"white";%20divTag.style.width%20=%20"350px";%20divTag.style.zIndex%20=%20"999";%20divTag.innerHTML%20=%20"<div%20style='float:right;color:red;font-weight:bold;margin:-5px;%200px%2010px%200px;cursor:pointer;'%20onclick='document.body.removeChild(document.getElementById(\""%20+%20divId%20+%20"\"));'>X</div><br%20style='clear:right;'/><div>Landing%20page%20URL:%20<input%20id='"%20+%20inputId%20+%20"'%20type='text'%20value='http://'%20style='width:170px;'>%20<input%20type='button'%20value='Go'%20onclick='location.href=document.getElementById(\""%20+%20inputId%20+%20"\").value;'%20/></div>";%20document.body.appendChild(divTag);%20document.getElementById(inputId).focus();})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.