mirror of
https://github.com/casjaysdevdocker/squidguard
synced 2025-09-18 15:57:41 -04:00
🦈🏠🐜❗ Initial Commit ❗🐜🦈🏠
This commit is contained in:
7
data/htdocs/www/js/errorpages/loaddomain.js
Normal file
7
data/htdocs/www/js/errorpages/loaddomain.js
Normal file
@@ -0,0 +1,7 @@
|
||||
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;
|
||||
}
|
Reference in New Issue
Block a user