I have a javascript which outputs the domain name in console. This javascript is used in web pages hosted in different domains. The console should display the domain javascript is loaded from instead of the domain web pages are hosted. How do i get that without using jquery?I have a javascript which outputs the domain na