Block requests originating from a domain

Hi,

According to Blocking Content with Your Safari Web Extension, we can now use the Declarative Net Request API to block content in a Safari Web Extension.

However, not everything in the API has been implemented just yet.

The supported RuleCondition are domainType, excludedResourceTypes, isUrlFilterCaseSensitive, regexFilter, and resourceTypes.

Does anyone know when the initiatorDomains rule condition will be supported?

In the meantime, is there a way for an extension to block requests based on an originator domain?

Thanks

Sadly, initiatorDomains (in iOS version 17beta) is still NOT working, together with modifyHeaders/responseHeaders. Using them will result in totally garbaged web pages. In iOS 17beta is now, instead, supported requestDomains.

Block requests originating from a domain
 
 
Q