Health_server / install_module /Ibs_Module /Ibs_Module_script.js
seapoe1809's picture
Upload 201 files
571f20f verified
raw
history blame contribute delete
523 Bytes
document.addEventListener('DOMContentLoaded', function() {
var link = document.getElementById('Ibs_Module-link');
var currentIp = window.location.hostname; // Get the current IP address
var newPort = '3024'; // New port number
link.addEventListener('click', function(event) {
event.preventDefault();
var newUrl = 'http://' + currentIp + ':' + newPort;
window.open(newUrl, '_blank');
});
});