Last active
June 28, 2017 08:55
-
-
Save iiic/6a51a777f7478d847a6a70d6706250df to your computer and use it in GitHub Desktop.
accesskey tester
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML> | |
<meta charset="utf-8"> | |
<title>accesskey tester</title> | |
<body> | |
<p> | |
takže nejdou použít: <br> | |
v chrome: d, e, f + všechny čísla<br> | |
ve firefoxu : fungují všechny, ovšem navíc s SHIFTem<br> | |
v opeře: d, f, p + všechna čísla<br> | |
v IE čku: d pouze<br> | |
</p> | |
<hr> | |
<script> | |
(function () { | |
'use strict'; | |
const RADIX = 36; | |
const ACCESSKEY = 'accesskey = '; | |
for (var i = 0; i < RADIX; i++) { | |
var input = document.createElement('input'); | |
input.type = 'text'; | |
input.placeholder = ACCESSKEY + i.toString(RADIX); | |
input.setAttribute('accesskey', i.toString(RADIX)); | |
document.body.appendChild(input); | |
document.body.appendChild(document.createElement('br')); | |
} | |
}()); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment