28.03.2026, 17:50
(This post was last modified: 28.03.2026, 19:09 by CristianAgata.)
Hi @all
I would like get the Visu hash on every change. Is It possible?
I have done this script in Javascript I get the hash on the first load of the page.
Best regards Cristian
I would like get the Visu hash on every change. Is It possible?
I have done this script in Javascript I get the hash on the first load of the page.
Code:
var test = location.hash;
console.log(test); //this works
window.addEventListener('hashchange', function() {
var nuovoHash = location.hash;
console.log('Il hash è cambiato in: ' + nuovoHash);
}); //this doesn't works
