问题
In my Google App Maker application, whenever a user clicks on a Link, it causes the href link to open in the same window as the application. This causes a problem because the user has to click back in order to access the application again. Is there any way to set the link such that when a user clicks on it (without right click > open new tab), the page opens in a new tab/window? Thanks.
回答1:
Try
window.open('www.your_link.com','_blank');
回答2:
In the app maker property editor for the link widget set the target property to _blank
来源:https://stackoverflow.com/questions/51639748/how-do-you-set-a-link-so-that-it-opens-in-a-new-tab-or-window-in-google-app-make