Hotspot HTTPS page

Hello,

is there a way to get the custom link variables such as:
$(link-status)
$(link-logout)
to follow the same protocol as the $(link-login)
because currently I’m using jsonp to access these mikrotik data from external https portal, and the logout couldn’t work since the browser generate mixed-content warning
(from https portal, called logout via jsonp, but the protocol mismatch)

hotspot login via jsonp works as the link-login shows https:///login