Posts

Post marked as Apple Recommended
12k Views
Hey everyone,I have a Chrome and Firefox extension that I'm trying to port over to Safari however I'm running into a few issues.I can't seem to find a way to run similar code to these two functions:chrome.extension.connect (or browser.runtime.connect in Firefox)chrome.tabs.query({active: true, currentWindow: true, url: ["http://*/*", "https://*/*"]}, function(tabs) (runs the same on firefox)Anyone know a workaround in safari that might be useful? I've scoured the web and can't seem to find a good solution.
Posted
by Dtrav1030.
Last updated
.