Post

Replies

Boosts

Views

Activity

Bug: Local and Sync storage merged since safari 15
Since Safari 15, the extensions local and sync storage seems to be merged into one. This means operations in local storage apply to sync storage and the reverse. This caused the users of of my extensions with more than half a million of downloads to loose all their user settings. To keep compatibility across browsers, the sync and local storage should be separated.
3
0
2.3k
Feb ’22
Allow `background.persistent: true` on iOS
Currently extensions are not allowed to load on iOS when the background persistent key is set to true. To allow a single code base between iOS and macOS, it's very welcome to allow the persistent key to be set to true and accept it in iOS. As currently Apple doesn't want to support persistent background pages on iOS, Safari in iOS can simply ignore the persistent key and run the background page as if persistent is set to false. See also feedback assistant report: https://feedbackassistant.apple.com/feedback/9676503
0
0
1.1k
Oct ’21
chrome.tabs.create in existing window behaves incorrectly
When using chrome.windows.getAll to get a list of all windows. On iOS, you get two windows, 1 normal and 1 private. Say the current tab is a non private window. And you then try to open a window in private in the extension. It opens kinda a ghost private window which hosts inside the non-private window. Correct behaviour is that it simply opens that tab in the only private window possible. Also reported as feedback assistent issue: https://feedbackassistant.apple.com/feedback/9653213
0
0
855
Sep ’21
Contentscripts are not executed for frames within extension popups even with all_frames set to true
Contentscripts are not executed for frames within extension popups even with all_frames set to true. See Feedback Assistant report #9637605 Manifest.json: { "manifest_version": 2, "name": "all_frames contentscript popup issue", "description": "all_frames contentscript popup issue", "version": "1.0", "permissions": [ "<all_urls>" ], "content_scripts": [{ "all_frames": true, "matches": ["<all_urls>"], "js": ["/content-script.js"] }], "icons": { "16": "/icon.png" }, "browser_action": { "browser_style": false, "default_popup": "/popup.html" } } popup.html: <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>all_frames contentscript popup issue</title> </head> <body> <iframe src="https://www.google.com/error"></iframe> </body> </html> content-script.js: 'use strict'; (function () { document.head.textContent = ''; document.body.textContent = ''; document.body.style.cssText = 'background: red !important'; })();
0
0
712
Sep ’21
browser.commands: Empty browser action reference causes conflicts
To provide users the ability for a keyboard shortcut to open extensions, you can define this in manifest: "commands": { "_execute_browser_action": { "description": "Open extension popup" } }, This doesn't set a keyboard shortcut yet allows the user to assign one. However, in iOS safari, when two extensions offer this functionality, the browser warns about it. See screenshot:
1
0
858
Sep ’21