Post

Replies

Boosts

Views

Activity

Toolbar Button Icons are Blue
All of my third party extensions have blue icons now, in Safari 14.0. It looks pretty awful. Is there a way to keep the monochrome colors or a way for us, as developers, to provide a different kind of icon to sustain the monochrome colors for our extensions? I am assuming the blue color denotes something, like the extension being "active". I wasn't able to find documentation on this change nor any related api doc.
12
1
5.8k
Sep ’23
HTML Download Attribute using data URI
Clicking an anchor tag <a> using a download attribute and data uri as the href doesn't trigger a download in a webextension bundled html page. Rather it opens a new tab and navigates to the data uri. This is the not the same behaviour users experience on the web nor the same behaviour as a Safari App Extension bundled html page. Is this intentional? Is this a shortcoming of the WebExtension API? Is there any way around this? Any guidance would be appreciated.
1
0
1.8k
Oct ’22
declarativeNetRequest modifyHeaders action.type
Currently Safari does not support modifyHeaders as an action.type when using the declarativeNetRequest API. Does the Safari team plan on building out this action.type for the API? Safari seems to be the only major browser that lacks support for header manipulation, even with the mv2 APIs (ie. webRequestBlocking). Is this purposefully being omitted? If so, why?
1
0
1.3k
Aug ’22
Is webRequest supported?
Adding the webRequest permission to my manifest file does not give me access to the webRequest WebExtension api in my background page. From looking at the docs, I see that webRequestBlocking is not supported, but no mention of webRequest not being supported. I am on macOS 12.1 and Safari 15.2. Example: ... "permissions": [ "<all_urls>", "webRequest" ] ...
1
0
1.2k
Dec ’21
Do page CSPs apply to Safari WebExtension content scripts?
Currently, if a page csp disallows inline scripts, but the content script attempts implant inline scripts (DOM injected scripts) - the code will fail to execute. This is an issue with the current Safari extension model. The effect of this is that content scripts that inject dynamic (user-generated) content can not properly interact with the page context. This is also an issue with other major browsers, however I do not believe Chrome has this restriction. The reason I say "do not believe" is because the documentation indicates that "page csp does not apply to content scripts", but I have not personally tested this. I'd like to know is this restriction will be present with the new Safari WebExtension model, especially considering that webRequestBlocking is not supported (which would be the only workaround I am aware of).
6
0
3.5k
Nov ’21
Toolbar Button Icons are Blue
All of my third party extensions have blue icons now, in Safari 14.0. It looks pretty awful. Is there a way to keep the monochrome colors or a way for us, as developers, to provide a different kind of icon to sustain the monochrome colors for our extensions? I am assuming the blue color denotes something, like the extension being "active". I wasn't able to find documentation on this change nor any related api doc.
Replies
12
Boosts
1
Views
5.8k
Activity
Sep ’23
HTML Download Attribute using data URI
Clicking an anchor tag <a> using a download attribute and data uri as the href doesn't trigger a download in a webextension bundled html page. Rather it opens a new tab and navigates to the data uri. This is the not the same behaviour users experience on the web nor the same behaviour as a Safari App Extension bundled html page. Is this intentional? Is this a shortcoming of the WebExtension API? Is there any way around this? Any guidance would be appreciated.
Replies
1
Boosts
0
Views
1.8k
Activity
Oct ’22
declarativeNetRequest modifyHeaders action.type
Currently Safari does not support modifyHeaders as an action.type when using the declarativeNetRequest API. Does the Safari team plan on building out this action.type for the API? Safari seems to be the only major browser that lacks support for header manipulation, even with the mv2 APIs (ie. webRequestBlocking). Is this purposefully being omitted? If so, why?
Replies
1
Boosts
0
Views
1.3k
Activity
Aug ’22
Is webRequest supported?
Adding the webRequest permission to my manifest file does not give me access to the webRequest WebExtension api in my background page. From looking at the docs, I see that webRequestBlocking is not supported, but no mention of webRequest not being supported. I am on macOS 12.1 and Safari 15.2. Example: ... "permissions": [ "<all_urls>", "webRequest" ] ...
Replies
1
Boosts
0
Views
1.2k
Activity
Dec ’21
Do page CSPs apply to Safari WebExtension content scripts?
Currently, if a page csp disallows inline scripts, but the content script attempts implant inline scripts (DOM injected scripts) - the code will fail to execute. This is an issue with the current Safari extension model. The effect of this is that content scripts that inject dynamic (user-generated) content can not properly interact with the page context. This is also an issue with other major browsers, however I do not believe Chrome has this restriction. The reason I say "do not believe" is because the documentation indicates that "page csp does not apply to content scripts", but I have not personally tested this. I'd like to know is this restriction will be present with the new Safari WebExtension model, especially considering that webRequestBlocking is not supported (which would be the only workaround I am aware of).
Replies
6
Boosts
0
Views
3.5k
Activity
Nov ’21