Post not yet marked as solved
Post marked as unsolved with 2 replies, 1,085 views
I could not find any way to create an extension with permissions to read the URL without also asking for permission to read the FULL DOM including passwords.A user sent me this screen shot showing an AD BLOCKER that somehow does not read the DOM!My app needs only see the URL, we do NOT read the DOM at all and I don't want to ask for permission to read the entire DOM!The documentation CLEARLY says there is only All Some or Nonehttps://developer.apple.com/documentation/safariservices/safari_app_extensions/safari_app_extension_info_property_list_keys/adjusting_website_access_permissions?language=objcHow does an app NOT ask for permission to read passwords and crazy stuff?Thanks for what must be obvious!This is my first Safari Extensionoh, ok, I guess I can't attach a photo but you get the idea.If I ask for Allowed to be any twitter.com domain, and "Some" allowed I getError connecting back to host app: NSCocoaErrorDomain, code: 4099Here's my plist XML <?xml version="1.0" encoding="UTF-8"?><!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"><plist version="1.0"><dict> <key>Allowed Domains</key> <array> <string>*.twitter.com</string> </array> <key>Level</key> <string>Some</string></dict></plist>