hnshosting-wp/master/templates/assets/js/status_update.js

13 lines
409 B
JavaScript
Raw Normal View History

2023-09-20 22:32:14 +10:00
// Wait for 10 seconds
2023-09-03 13:48:26 +10:00
setTimeout(function() {
2023-09-20 22:32:14 +10:00
// Get the 'domain' parameter from the current URL
var urlParams = new URLSearchParams(window.location.search);
2023-09-03 13:48:26 +10:00
var domain = urlParams.get('domain');
2023-09-20 22:32:14 +10:00
// Construct the new URL with the 'domain' parameter
var newURL = "https://hnshosting.au/info?domain=" + domain;
// Redirect to the new URL
window.location.href = newURL;
}, 10000);