I learned there are two types of safari extensions . Web extensions and app extensions . We are currently developing a safari web extension . The extension requires access on all web sites by default (without user granting permissions) . But there is no provision for same in web extension . However the same can be achieved in app extension by including safari website access in info.plist . Please clarify why there is no provision to achieve the same in web extension . However same is provided in app extension .
Safari Web extension allow access all websites permissions - need clarification
Your users can grant your web extension permission to access all websites, but it needs to be something they explicitly opt into.
has some discussion about this.