Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript get base url

console.log(window.location.origin);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #base #url
ADD COMMENT
Topic
Name
6+6 =