0

In native safari extension,How to call dispatchMessageToScript after page loaded , In chrome we are using " chrome.tabs.onUpdated.addListener(listener);” function in background script and this is giving us tab URL and status with ‘complete’ then we are sending our message to the particular tab. Please help me out to find an alternate solution for safari app extension

1 Answers1

0

Your question is a bit unclear and hard to read. But, if you are asking how to wait until the DOM is loaded before executing, then that is exactly what the example in the Apple documentation shows, refer to the section 'Execute Your Code After the Webpage Loads'.

quin
  • 276
  • 1
  • 9