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;
|
||||
|
||||
function clear() {
|
||||
str_hostname = punycode.toUnicode(location.host).replace(/\./g, " ")
|
||||
document.body.innerHTML = str_hostname.replace(".saynul.eu", ", c'est nul !");
|
||||
str_hostname = punycode.toUnicode(location.host)
|
||||
str_hostname = str_hostname.replace(".saynul.eu", ", c'est nul !");
|
||||
str_hostname = str_hostname.replace(/\./g, " ");
|
||||
document.body.innerHTML = str_hostname;
|
||||
};
|
||||
</script>
|
||||
|
||||
|
|
Loading…
Reference in a new issue