Demo: open webpage using JavaScript
Copy this code into a JavaScript button:
function openInNewTab(url) {
var win = window.open(url, '_blank');
try { win.focus(); } catch (e) {}
}
openInNewTab("https://www.geogebra.org")