01.11.2024, 12:58
(01.11.2024, 07:35)admin Wrote: Use a virtual object with 250 byte string data type (32/0/1 in this example).
Code:$(function() {
if (typeof grp != 'object') {
return;
}
var url;
$('.link').off('vclick').on('vclick', function() {
window.open(url);
});
grp.listen('32/0/1', function(obj) {
url = obj.value;
});
});
in fact I had already thought of this solution, the problem is that the URL is too long and is truncated to 250 bytes as it contains an authentication token that changes every time:
http://10.0.0.146:8080/dashboard/28a2e20...8So-6_WXUw