Jason b096089188
🦈🏠🐜 Initial Commit 🐜🦈🏠
2022-02-15 09:55:45 -05:00

8 lines
232 B
JavaScript

function loadDomain() {
let proto = location.protocol;
let port = location.port;
let url = location.hostname;
var display = document.getElementById('display-domain');
display.innerHTML = proto + '//' + url + ':' + port;
}