<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<title>No Close</title>
</head>
<body>
<h2>Prevents accidental window close.</h2>
<p>Feel free to use this page in your browser to show a confirmation when the browser unload event is fired.</p>
<h3>Instructions on using</h3>
<p>To make use of this page you have to keep this page open in the browser always, you can either bookmark this page or set this page to open automatically on start-up.</p>
<ol>
<li>Bookmark the page</li>
<li>When you are in a browsing session simply use the bookmark and keep this tab opened.</li>
</ol>
<p>OR</p>
<ol>
<li>Right click on the tab</li>
<li>Pin this page's tab</li>
<li>Now everytime you open Chrome this page will be there.</li>
</ol>
<h3>Information</h3>
<p>This is a simple static page created by me, Deepak Kamat, hosted on <a href="http://jsbin.com" target="_blank">JSBin</a>. The page is lightweight and uses no external libraries thus not impacting performance of your browser at all.</p>
<p>We will <b>never ever</b> create pop-ups or make your browser slow by injecting ads in your browser through this page. The code is public and if you like you can always <a href="http://jsbin.com/pejejib/edit?html,css,js,output" target="_blank">fork it</a> and use on your own web host..</p>
<h3>Support Us</h3>
<div class="links">
<a class="buy-coffee" target="_blank" href="https://www.paypal.me/DKamat">buy me a coffee (paypal link)</a>
<p>Appreciate it! :)</p>
</div>
<h3>Contact</h3>
<a target="_blank" href="http://www.stramaxon.com">by deepak kamat</a> | depy45631@gmail.com |
</body>
</html>
Output
You can jump to the latest bin by adding /latest
to your URL
Keyboard Shortcuts
Shortcut | Action |
---|---|
ctrl + [num] | Toggle nth panel |
ctrl + 0 | Close focused panel |
ctrl + enter | Re-render output. If console visible: run JS in console |
Ctrl + l | Clear the console |
ctrl + / | Toggle comment on selected lines |
ctrl + ] | Indents selected lines |
ctrl + [ | Unindents selected lines |
tab | Code complete & Emmet expand |
ctrl + shift + L | Beautify code in active panel |
ctrl + s | Save & lock current Bin from further changes |
ctrl + shift + s | Open the share options |
ctrl + y | Archive Bin |
Complete list of JS Bin shortcuts |
JS Bin URLs
URL | Action |
---|---|
/ | Show the full rendered output. This content will update in real time as it's updated from the /edit url. |
/edit | Edit the current bin |
/watch | Follow a Code Casting session |
/embed | Create an embeddable version of the bin |
/latest | Load the very latest bin (/latest goes in place of the revision) |
/[username]/last | View the last edited bin for this user |
/[username]/last/edit | Edit the last edited bin for this user |
/[username]/last/watch | Follow the Code Casting session for the latest bin for this user |
/quiet | Remove analytics and edit button from rendered output |
.js | Load only the JavaScript for a bin |
.css | Load only the CSS for a bin |
Except for username prefixed urls, the url may start with http://jsbin.com/abc and the url fragments can be added to the url to view it differently. |