Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Safari Extension Popover Links

Is it possible to have a link work in a Safari popover? I've done just about everything I can think of, but it appears that the adding links to popovers only changes the appearance, and doesn't result in anything clickable, either with href or onclick.

like image 711
Sunookitsune Avatar asked Apr 16 '12 23:04

Sunookitsune


1 Answers

You can add onclick listener on href or div

.onclick = safari.application.activeBrowserWindow.openTab().url = "http://www.yourdomain.com/";
like image 152
Dmitriy Avatar answered Sep 27 '22 21:09

Dmitriy