Is it possible for the link to work in Safari? I have done almost everything that I can think of, but it seems that adding links to popovers only changes the appearance and does not lead to anything clickable with href or onclick.
You can add onclick listener on href or div
.onclick = safari.application.activeBrowserWindow.openTab().url = "http://www.yourdomain.com/";
var link = document.querySelector('#~~~'); link.addEventListener("click", function(event) { safari.application.activeBrowserWindow.openTab().url = "http://~~" })
Source: https://habr.com/ru/post/913375/More articles:Create a hyperlink in an Excel cell? - vbaIs 'yield' in Scala equivalent to a display function? - yieldMocking an abstract class with a mocked constructor argument? - javaHow to check if user logged_in is registered on Drupal site using JavaScript? - javascriptUsing the glmulti package in R to exhaustively search for multiple regression for akaike weights - rSecurity hash salt generation using PHP mt_rand ()? - phpThe password for salts. Am I doing it right? - phpHow to learn memory usage in C ++ - c ++How to connect a huge file download to socket.io in Node.js - node.jsRename namespace in NetBeans PHP? - phpAll Articles