Replace dots in hostname by spaces in printed string
This commit is contained in:
parent
1d04b40e63
commit
b69a60a8ad
1 changed files with 1 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
window.onload = clear;
|
||||
|
||||
function clear() {
|
||||
str_hostname = punycode.toUnicode(location.host)
|
||||
str_hostname = punycode.toUnicode(location.host).replace(/\./g, " ")
|
||||
document.body.innerHTML = str_hostname.replace(".saynul.eu", ", c'est nul !");
|
||||
};
|
||||
</script>
|
||||
|
|
Loading…
Reference in a new issue