const requestFilter = {}const userAgent = 'Mozilla/5.0 (iPhone; CPU iPhone OS 6_0 like Mac OS X) AppleWebKit/536.26 (KHTML, like Gecko) Version/6.0 Mobile/10A5376e Safari/8536.25';
chrome.webRequest.onBeforeSendHeaders.addListener( function(details) { if (details.tabId && (details.tabId === tabId || details.tabId === -1 || tabMultiId.includes(details.tabId))) { const { requestHeaders } = details requestHeaders.forEach(header => { header.value = userAgent } }) const headers = requestHeaders.filter(header => { return header.name.toLowerCase() !== 'referer' }) return { requestHeaders: headers } } }, requestFilter, ['blocking', 'requestHeaders'])
chrome.webRequest.onHeadersReceived.addListener( function(details) { const toBeRemoved = [ 'x-frame-options', 'content-security-policy-report-only', 'content-security-policy' ] if (details.tabId && (details.tabId === tabId || details.tabId === -1 || tabMultiId.includes(details.tabId))) { const headers = details.responseHeaders.filter(header => { return toBeRemoved.indexOf(header.name.toLowerCase()) === -1 }) return { responseHeaders: headers } } }, requestFilter, ['blocking', 'responseHeaders'])
Tough crowd.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/fd29e938-f6f9-4f6d-9291-d0dc819ec80c%40chromium.org.
Indeed. Let's please all keep in mind Chromium's Code Of Conduct. Name-calling and abuse are not constructive and are not going to help us move forward on this tricky problem which, necessarily, has multiple contesting equities.
On Sun, Jun 16, 2019 at 3:21 PM Dave Teare <da...@agilebits.com> wrote:
Tough crowd.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
Oh, please. The crowd here is just sane, not willing to applaud every official announcement blindly. The Chromium developers have been ignoring all criticism (or appeals to justify the official claims) towards the base of the ManifestV3 plan regardless of the form it's expressed and regardless of how well it's founded or worded, which is a huge "F. you" in the face of all extension developers who understand what's about to be broken with no alternative for no clear benefit other than vague promises.
On Wednesday, June 19, 2019 at 1:39:22 AM UTC+3, Chris Palmer wrote:
Indeed. Let's please all keep in mind Chromium's Code Of Conduct. Name-calling and abuse are not constructive and are not going to help us move forward on this tricky problem which, necessarily, has multiple contesting equities.
On Sun, Jun 16, 2019 at 3:21 PM Dave Teare <da...@agilebits.com> wrote:
Tough crowd.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/fd29e938-f6f9-4f6d-9291-d0dc819ec80c%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/3bd5fa54-8c0c-48d2-b166-4b7b0ae0d8bb%40chromium.org.
The security claims are not vague; we have stated them clearly and repeatedly. Similarly, cross-process communication (see the diagram in the post) is typically much more expensive than a pure-compute operation in-process, even when N is large-ish. (As people may have seen, Chrome engineers are working to show this, with a realistic test ad blocker using Mv3 APIs.) The performance concern is real (more on this below).The down-side is that those N rules must now be stored in a long-lived browser or network service process, so the cost in space of those N rules becomes a concern. (This is likely also why Safari has a limit — lower than the limit we now propose, thanks to people's feedback here. Yet nobody could reasonably say that Apple is trying to get rid of content blocking extensions.)Finally, nobody is getting rid of content blockers. In fact, as one of the blog posts says, "These performance improvements will make extensions significantly more viable on resource-constrained platforms." Our goal is to make content blockers work faster, on more platforms, while at the same time requiring fewer powerful permissions — permissions that we know are being abused.All these points have been made before. And we hear the concerns of extension developers that Manifest v3 might not suit all their goals perfectly. Thank you to everyone who is posting specific code examples and use cases, and doing so respectfully. That's what we all need. We all — the many Chromium embedders, extension developers, and web developers — are working together in a complex ecosystem to provide everyone in the world a great experience on the web. That's profoundly difficult, and there are legitimate differences as to what is best, but we all can make and are making good forward progress.One last note: I sense there may be some legitimate confusion about the overloaded meaning of the term "blocking", and that confusion may have partially driven some of the concerns we've seen in these threads and in the press. "Blocking" sometimes means "stopping content from loading", but at other times means "synchronous". The "blocking" in "blocking WebRequest" is talking about synchronous I/O. It is a general goal of web platform developers to get rid of synchronous operations, because the caller has to wait for the callee to respond — that's slow, and we want things to be fast. When we say we want to get rid of the blocking WebRequest API, we mean getting rid of synchronous I/O, not getting rid of content blocking.
On Tue, Jun 18, 2019 at 9:33 PM wOxxOm <wox...@gmail.com> wrote:
Oh, please. The crowd here is just sane, not willing to applaud every official announcement blindly. The Chromium developers have been ignoring all criticism (or appeals to justify the official claims) towards the base of the ManifestV3 plan regardless of the form it's expressed and regardless of how well it's founded or worded, which is a huge "F. you" in the face of all extension developers who understand what's about to be broken with no alternative for no clear benefit other than vague promises.
On Wednesday, June 19, 2019 at 1:39:22 AM UTC+3, Chris Palmer wrote:
Indeed. Let's please all keep in mind Chromium's Code Of Conduct. Name-calling and abuse are not constructive and are not going to help us move forward on this tricky problem which, necessarily, has multiple contesting equities.
On Sun, Jun 16, 2019 at 3:21 PM Dave Teare <da...@agilebits.com> wrote:
Tough crowd.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/fd29e938-f6f9-4f6d-9291-d0dc819ec80c%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
Once again, you've dodged the point that extensions are free to passively monitor web requests and page content without restraint, and that removing blocking webRequest does absolutely nothing to increase privacy in that regard.
The security claims are not vague; we have stated them clearly and repeatedly. Similarly, cross-process communication (see the diagram in the post) is typically much more expensive than a pure-compute operation in-process, even when N is large-ish. (As people may have seen, Chrome engineers are working to show this, with a realistic test ad blocker using Mv3 APIs.) The performance concern is real (more on this below).The down-side is that those N rules must now be stored in a long-lived browser or network service process, so the cost in space of those N rules becomes a concern. (This is likely also why Safari has a limit — lower than the limit we now propose, thanks to people's feedback here. Yet nobody could reasonably say that Apple is trying to get rid of content blocking extensions.)Finally, nobody is getting rid of content blockers. In fact, as one of the blog posts says, "These performance improvements will make extensions significantly more viable on resource-constrained platforms." Our goal is to make content blockers work faster, on more platforms, while at the same time requiring fewer powerful permissions — permissions that we know are being abused.All these points have been made before. And we hear the concerns of extension developers that Manifest v3 might not suit all their goals perfectly. Thank you to everyone who is posting specific code examples and use cases, and doing so respectfully. That's what we all need. We all — the many Chromium embedders, extension developers, and web developers — are working together in a complex ecosystem to provide everyone in the world a great experience on the web. That's profoundly difficult, and there are legitimate differences as to what is best, but we all can make and are making good forward progress.One last note: I sense there may be some legitimate confusion about the overloaded meaning of the term "blocking", and that confusion may have partially driven some of the concerns we've seen in these threads and in the press. "Blocking" sometimes means "stopping content from loading", but at other times means "synchronous". The "blocking" in "blocking WebRequest" is talking about synchronous I/O. It is a general goal of web platform developers to get rid of synchronous operations, because the caller has to wait for the callee to respond — that's slow, and we want things to be fast. When we say we want to get rid of the blocking WebRequest API, we mean getting rid of synchronous I/O, not getting rid of content blocking.
On Tue, Jun 18, 2019 at 9:33 PM wOxxOm <wox...@gmail.com> wrote:
Oh, please. The crowd here is just sane, not willing to applaud every official announcement blindly. The Chromium developers have been ignoring all criticism (or appeals to justify the official claims) towards the base of the ManifestV3 plan regardless of the form it's expressed and regardless of how well it's founded or worded, which is a huge "F. you" in the face of all extension developers who understand what's about to be broken with no alternative for no clear benefit other than vague promises.
On Wednesday, June 19, 2019 at 1:39:22 AM UTC+3, Chris Palmer wrote:
Indeed. Let's please all keep in mind Chromium's Code Of Conduct. Name-calling and abuse are not constructive and are not going to help us move forward on this tricky problem which, necessarily, has multiple contesting equities.
On Sun, Jun 16, 2019 at 3:21 PM Dave Teare <da...@agilebits.com> wrote:
Tough crowd.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/fd29e938-f6f9-4f6d-9291-d0dc819ec80c%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
The security claims are not vague; we have stated them clearly and repeatedly. Similarly, cross-process communication (see the diagram in the post) is typically much more expensive than a pure-compute operation in-process, even when N is large-ish. (As people may have seen, Chrome engineers are working to show this, with a realistic test ad blocker using Mv3 APIs.) The performance concern is real (more on this below).The down-side is that those N rules must now be stored in a long-lived browser or network service process, so the cost in space of those N rules becomes a concern. (This is likely also why Safari has a limit — lower than the limit we now propose, thanks to people's feedback here. Yet nobody could reasonably say that Apple is trying to get rid of content blocking extensions.)Finally, nobody is getting rid of content blockers. In fact, as one of the blog posts says, "These performance improvements will make extensions significantly more viable on resource-constrained platforms." Our goal is to make content blockers work faster, on more platforms, while at the same time requiring fewer powerful permissions — permissions that we know are being abused.All these points have been made before. And we hear the concerns of extension developers that Manifest v3 might not suit all their goals perfectly. Thank you to everyone who is posting specific code examples and use cases, and doing so respectfully. That's what we all need. We all — the many Chromium embedders, extension developers, and web developers — are working together in a complex ecosystem to provide everyone in the world a great experience on the web. That's profoundly difficult, and there are legitimate differences as to what is best, but we all can make and are making good forward progress.One last note: I sense there may be some legitimate confusion about the overloaded meaning of the term "blocking", and that confusion may have partially driven some of the concerns we've seen in these threads and in the press. "Blocking" sometimes means "stopping content from loading", but at other times means "synchronous". The "blocking" in "blocking WebRequest" is talking about synchronous I/O. It is a general goal of web platform developers to get rid of synchronous operations, because the caller has to wait for the callee to respond — that's slow, and we want things to be fast. When we say we want to get rid of the blocking WebRequest API, we mean getting rid of synchronous I/O, not getting rid of content blocking.
On Tue, Jun 18, 2019 at 9:33 PM wOxxOm <wox...@gmail.com> wrote:
Oh, please. The crowd here is just sane, not willing to applaud every official announcement blindly. The Chromium developers have been ignoring all criticism (or appeals to justify the official claims) towards the base of the ManifestV3 plan regardless of the form it's expressed and regardless of how well it's founded or worded, which is a huge "F. you" in the face of all extension developers who understand what's about to be broken with no alternative for no clear benefit other than vague promises.
On Wednesday, June 19, 2019 at 1:39:22 AM UTC+3, Chris Palmer wrote:
Indeed. Let's please all keep in mind Chromium's Code Of Conduct. Name-calling and abuse are not constructive and are not going to help us move forward on this tricky problem which, necessarily, has multiple contesting equities.
On Sun, Jun 16, 2019 at 3:21 PM Dave Teare <da...@agilebits.com> wrote:
Tough crowd.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/fd29e938-f6f9-4f6d-9291-d0dc819ec80c%40chromium.org.
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsub...@chromium.org.
Chris, could you provide some links to those security claims? The best I could find is "Since January 2018, 42% of malicious extensions use the Web Request API." But that number has absolutely no context. What percentage of all extensions use the Web Request API? What percentage of extensions that use it are bad? How many bad extensions are we talking about? How many users does this affect? How does this compare to the number of users who rely on privacy-protecting extensions like uBlock, NoScript, Privacy Badger, and PhishDetect?
Further, why is the change to host permissions insufficient to address the security concerns?Right now, Chrome's extension platform lets developers innovate and protect users in ways that Chrome by itself doesn't--in ways the Chrome team never even imagined, and might even disagree with. Mv3 will flip that, so that extension developers can only protect users in ways the Chrome team has approved (and built out the capability for). So far, the Chrome team has failed to explain why such a fundamental change is necessary.
Should we be preparing to the complete removal of the content scripts or webRequest in manifest V4?From what I am reading it seems that DNR is just a first step in limiting extensions capabilities, and you are not going to stop there.
Hey extensions devs,I wanted to give this distro list a heads up that we shared two blog posts this morning that attempt to address some of the recent confusion in the press around the webRequest API changes.Improving Security and Privacy for Extensions UsersWeb Request and Declarative Net Request: Explaining the impact on Extensions in Manifest V3Happy coding!
--
You received this message because you are subscribed to the Google Groups "Chromium Extensions" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/a4194013-c796-4b53-bd46-b203fdc89273%40chromium.org.
Where can we test latest manifest v3 extension?. Is it available on chromium master branch?.Manifest V3 is not yet ready for experimentation and feedback. The extensions team is currently working towards releasing a Developer Preview in the Canary channel at the end of July or beginning of August. We'll be sharing additional details when that lands.