function isLocalRegistrationPage() { let registrationUrl = "http://{{LOCAL_ENDPOINT}}/register" return this.url == registrationUrl || startsWith(this.url, registrationUrl + "?") } function initScreen() { if (this.isLocalRegistrationPage()) { let externalButton = this.scene.findObject("btn_browser_force_external") if (checkObj(externalButton)) externalButton.show(false) }