Open lapcat opened 1 year ago
The documentation section "Replace the Default Icons and Toolbar Icons" on the page https://developer.apple.com/documentation/safariservices/safari_web_extensions/creating_a_safari_web_extension needs to be updated for Safari web extensions on iOS. In my testing, Safari iOS does not use the "icons" in the web extension's manifest json. Safari only uses "default_icon" in "browser_action". Also, Safari iOS only seems to use the size "48", or "144" on devices with @3x scale factor. Strangely, Safari does not seem to use "96" for @2x scale factor. Note that Safari's use of icons seems to differ from Chrome extensions. The Chrome extension documentation specifies 16x16 for browser_action default_icon: https://developer.chrome.com/docs/extensions/reference/browserAction/#icon and 48x48 for "icons" https://developer.chrome.com/docs/extensions/mv2/manifest/icons/
The documentation section "Replace the Default Icons and Toolbar Icons" on the page https://developer.apple.com/documentation/safariservices/safari_web_extensions/creating_a_safari_web_extension needs to be updated for Safari web extensions on iOS. In my testing, Safari iOS does not use the "icons" in the web extension's manifest json. Safari only uses "default_icon" in "browser_action". Also, Safari iOS only seems to use the size "48", or "144" on devices with @3x scale factor. Strangely, Safari does not seem to use "96" for @2x scale factor. Note that Safari's use of icons seems to differ from Chrome extensions. The Chrome extension documentation specifies 16x16 for browser_action default_icon: https://developer.chrome.com/docs/extensions/reference/browserAction/#icon and 48x48 for "icons" https://developer.chrome.com/docs/extensions/mv2/manifest/icons/