Posts: 723
Threads: 366
Joined: Jun 2016
Код:
<html><head><meta charset="UTF-8"> <script>function check() { var parts = document.domain.split('.'); if(!isNaN(parts[0])) {window.location.href='samp://samp.anyserverip.lt:7777';}ele{ var sndleveldomain = parts.slice(-2).join('.'); sndleveldomain = 'http://' + sndleveldomain; window.location.replace(sndleveldomain);} } </script></head><body onload="check()"></body></html>
Posts: 2,286
Threads: 18
Joined: Jun 2010
nothing because ele is not a keyword
Posts: 723
Threads: 366
Joined: Jun 2016
But is there any more mistakes, without that ele?
Posts: 3,934
Threads: 353
Joined: Jan 2010
Reputation:
0
Why not just check it yourself?
Posts: 723
Threads: 366
Joined: Jun 2016
Yes i checked, but maybe there is a little mistake i have to fix or replace function maybe it's outdated or not safe
Posts: 372
Threads: 23
Joined: Sep 2015
Reputation:
0
Don't reply to this guy. He makes a topic for every single thing and when people help him, he doesn't even give a thank you.