Remove bug that replaced all spaces and not domain name anymore
This commit is contained in:
parent
b69a60a8ad
commit
1e4a75bf1f
1 changed files with 4 additions and 2 deletions
|
@ -8,8 +8,10 @@
|
||||||
window.onload = clear;
|
window.onload = clear;
|
||||||
|
|
||||||
function clear() {
|
function clear() {
|
||||||
str_hostname = punycode.toUnicode(location.host).replace(/\./g, " ")
|
str_hostname = punycode.toUnicode(location.host)
|
||||||
document.body.innerHTML = str_hostname.replace(".saynul.eu", ", c'est nul !");
|
str_hostname = str_hostname.replace(".saynul.eu", ", c'est nul !");
|
||||||
|
str_hostname = str_hostname.replace(/\./g, " ");
|
||||||
|
document.body.innerHTML = str_hostname;
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue