View Single Post
Old 11-28-2014, 03:17 PM  
MarkTiarra
Confirmed User
 
MarkTiarra's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: NJ
Posts: 3,833
That's pretty sweet, Emil.

Quote:
Originally Posted by Emil View Post
I like this one better:

Code:
data:text/html, <html style="background-color:#eeeeee"><title>Notepad</title><body contenteditable style="background-color:#FEFEFC; font-size:16px;font-family:Helvetica,sans-serif;line-height:1.4;max-width:60rem;margin:0 auto;padding:4rem; box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.4);"><h1 id="title">New Note</h1><div id="note">New Text<script>var text = document.getElementById("title");var selection = window.getSelection(); selection.setBaseAndExtent(text, 0, text, 1);window.onbeforeunload=function(){ return "Navigating away from this page will remove all notes. Are you sure?"; }</script>
The best part is that you can not just close the window without notice.


Link: TinyURL.com - shorten that long URL into a tiny URL
__________________

Retired Pornosticator
MarkTiarra is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote