How to run external javascript on the "login.html" and other hotspot pages?

Hi,

I am changing the “login.html” page and want to run some javascript from a URL (I have “wall-gardened” this URL, its host).

However, this does not work.

I just try to run a simple alert(‘test’);

This run if I do this before the tag:

However, the same script cannot run when I do this:

Note that I have "wall-gardened" the "myotherdomain" host, as :.*myotherdomain.* Any help is appreciated, thanks!