Is it possible to set up mikrotik hotspot in automatic trial mode for a cafe visitor without any authentication window, but with time limit per day (Trial Uptime Limit/Trial Uptime Reset)?
Without Javascript on the client side as possible.
<html>
<head>
<meta http-equiv="refresh" content="0; url=http://"YOUR_ROUTER_IP/DNS"/login?username=T-$(mac-esc)&dst=http://www.google.com" />
</head>
</html>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="refresh" content="0; url=http://10.0.0.1/login?username=T-$(mac-esc)" />
</head>
</html>
<meta http-equiv="refresh" content="2; url=YOURDESIREDURL">
location.href = unescape('YOURDESIREDURL'); ****** within single quotes*****