Right click opens URL, how to prevent?
Hello, everyone,
I created an HTML5 banner with a button to a website. If I click the left button, the page opens. But the same thing happens when i right-click with the Mouse - I never saw this behavior before, how can you prevent this?
I use:
this.button_link_to_site.addEventListener("click", fl_ClickToGoToWebPage);
function fl_ClickToGoToWebPage() {
window.open("https://www.adobe.com", "_blank");
}
