[html5] r7867 - [e] (0) For heycam.
whatwg at whatwg.org
whatwg at whatwg.org
Sun May 5 14:35:06 PDT 2013
Author: ianh
Date: 2013-05-05 14:35:06 -0700 (Sun, 05 May 2013)
New Revision: 7867
Modified:
complete.html
index
Log:
[e] (0) For heycam.
Modified: complete.html
===================================================================
--- complete.html 2013-05-04 00:22:40 UTC (rev 7866)
+++ complete.html 2013-05-05 21:35:06 UTC (rev 7867)
@@ -244,11 +244,19 @@
if (!startedInit)
showAlert("Too slow? Try reading the multipage copy of the spec instead:", "http://whatwg.org/html");
}, 6000);
+
+ window.addEventListener('keypress', function (event) {
+ if ((event.which == 114) && (event.metaKey)) {
+ if (!confirm('Are you sure you want to reload this page?'))
+ event.preventDefault();
+ }
+ }, false);
+
</script><body onload=init()>
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 4 May 2013</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 5 May 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
Modified: index
===================================================================
--- index 2013-05-04 00:22:40 UTC (rev 7866)
+++ index 2013-05-05 21:35:06 UTC (rev 7867)
@@ -244,11 +244,19 @@
if (!startedInit)
showAlert("Too slow? Try reading the multipage copy of the spec instead:", "http://whatwg.org/html");
}, 6000);
+
+ window.addEventListener('keypress', function (event) {
+ if ((event.which == 114) && (event.metaKey)) {
+ if (!confirm('Are you sure you want to reload this page?'))
+ event.preventDefault();
+ }
+ }, false);
+
</script><body onload=init()>
<header class=head id=head><p><a class=logo href=http://www.whatwg.org/><img alt=WHATWG height=101 src=/images/logo width=101></a></p>
<hgroup><h1 class=allcaps>HTML</h1>
- <h2 class="no-num no-toc">Living Standard — Last Updated 4 May 2013</h2>
+ <h2 class="no-num no-toc">Living Standard — Last Updated 5 May 2013</h2>
</hgroup><dl><dt><strong>Web developer edition:</strong></dt>
<dd><strong><a href=http://developers.whatwg.org/>http://developers.whatwg.org/</a></strong></dd>
<dt>Multiple-page version:</dt>
More information about the Commit-Watchers
mailing list