Answer the question
In order to leave comments, you need to log in
How to track what domain name you are on and issue an alert to JS?
How to track what domain name you are on and issue an alert on JS or jQuery ?
For example, on the test.ru domain issue alert('1') and here subdomen.test.ru issue alert('2')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question