I know there were discussions on this topic, but just can’t help my problem. I understand that I cannot open a URL in a new tab through a button action but an WebLink. However, for the consistency of the UI design, I would like to do:
set a hidden WebLink in the window with me.URL and me.Target set
when then user press a WebButton, program “auto” press the WebLink, so that the target URL shows correctly in a new tab
Should work, or tested and does? That seems to me like a huge security hole if you can use javascript to click links, especially ones that open new windows or tabs.
I doubt thats going to work. Over the last few years, browsers have added pop up blockers which prevent JavaScript from opening a new window unless executed directly from a user mouse event.
What about if I can detect if the browser is set allow popup or not so my app can remind the user to change the setting? As users may not aware the little message box from the browser like Chrome.