chrome.webRequest and safari

Viewed 994

I'm trying to port a Chrome/Firefox extension for Safari. But the extension use a lot a feature of those browsers that doesn't seem to exist in Safari : chrome.webRequest (https://developer.chrome.com/extensions/webRequest).

The chrome.webRequest let you get information about every http requests sent (event from others tabs.).

I know that Safari has a very basic safari.application.addEventListener for navigate and beforeNavigatebut Chrome give a lot more information (like responseHeaders) and other events (like onBeforeRedirect or onErrorOccurred).

Is there a way to achieve that with pure js or with the safari js-extension API ?

0 Answers
Related