Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html>
<meta charset=utf-8>
<style>
.test {
color: blue;
font: 13px monospace;
}
</style>
<script>
function go() {
// Apply the requested -webkit-text-security setting.
maskOption = document.location.search.substr(1);
document.styleSheets[0].cssRules[0].style.webkitTextSecurity = maskOption;
}
</script>
<body onload="go()">
input type="number": <input class="test" type="number" value="12345">