as I mentioned above, is it possible that I call another BAS script and after the processing of this "external" BAS script is done the current script continues at the next step (action)? Also can I exchange variable values between my "calling" and my "external" script?
Thanks :)
Not. But you can use the code of the second script as a function in the first script.
The issue was with window.outerWidth == 0 in BAS, and some startnge code window.outerWidth || window.innerWidth from recaptcha service. If window.outerWidth == 0, so function, which calculates screen width, returned window.innerWidth which was always 304px, because code executed in captcha frame.