--
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/cd46b221-aae6-4aa8-94ac-0978316c52e2n%40chromium.org.
And it seems that the documentation is very lacking otherwise I would have figured this out months ago.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/6075ef1b-010a-43c7-b685-20cf42b11aean%40chromium.org.
For the moment, the most practical workaround is to create a temporary page context that you can use to access these APIs and post a message back to the extension's service worker.
To the best of my knowledge neither Geolocation nor Battery Status were intentionally removed in Manifest V3. Rather, they're web platform APIs that are not currently exposed to service workers (though gelocation has been requested). I've taken the liberty of opening two new feature requests to bring these capabilities to extension service workers:
- crbug.com/1279641 - Geolocation API
- crbug.com/1280007 - Battery Status API
For the moment, the most practical workaround is to create a temporary page context that you can use to access these APIs and post a message back to the extension's service worker.Of course, another option is to put off adoption of Manifest V3 until it supports more of the capabilities you need. Since you referenced an "inventory platform," I'm assuming your school district uses enterprise policies to manage devices. In that case, the Manifest V2 support timeline docs call out that "enterprise policy can let Manifest V2 extensions run on Chrome deployments within the organization" through June 2023. Additionally, you can use self-hosting and enterprise policies to host a custom extension on your own servers and force install it on managed devices.And it seems that the documentation is very lacking otherwise I would have figured this out months ago.I'd love to hear your thoughts on how we could better highlight web platform capabilities that aren't exposed in service workers.Simeon - @dotprotoChrome Extensions DevRel
On Sat, Dec 11, 2021 at 2:03 PM Mark Fratto <mark.fratto@gmail.com> wrote:
If that is my best option then I guess it will have to do. Thanks for the tips!!!
On Saturday, November 27, 2021 at 4:45:46 PM UTC-6 hrg...@gmail.com wrote:
The only solution is to open a minimized popup window and do your work from there.When you create a window you can specify that it's initially minimized. That way the user won't see it flashing in front of the focused window.Once you are done, you can close the window. If you do this quickly enough, the user won't notice that a new browser window was opened at all.
On Saturday, November 27, 2021 at 4:44:40 PM UTC-3 mark....@gmail.com wrote:
Yeah. Other applications like GoGuardian theft recovery will stop working as well I would assume, and other alike.You'd think they'd still allow both these at least maybe by putting these under the chrome.enterprise api incombination with force installed extensions
On Saturday, November 27, 2021 at 10:03:17 AM UTC-6 salem...@gmail.com wrote:
Only workaround I’m aware of is the long-shot of hoping that Google comes to their senses.
On Fri, Nov 26, 2021 at 10:39 PM Mark Fratto <mark....@gmail.com> wrote:No more Geolocation for tracking Lost/Stolen devices.No more monitoring battery percentage to know when a battery needs to be replaced.These are just the ones I found so far while trying to rewrite this extension.I have been trying to update my extension for several months now. And keep coming back to it to try to make it work. Come to find out may of the features I use are being removed in version 3.What a bummer. And it seems that the documentation is very lacking otherwise I would have figured this out months ago.Anyone else find a work around for these?--
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/cd46b221-aae6-4aa8-94ac-0978316c52e2n%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+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/6075ef1b-010a-43c7-b685-20cf42b11aean%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+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/CAFY0HLM8_T_s0BX9uuoA2358v9NsMVJxLC0-qvZCDQVYL-OMQg%40mail.gmail.com.
When you say a temporary page context, is this somthing that an extension can create within itself, or does it have to be run in a browser tab as a content script? - Conrad
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/6075ef1b-010a-43c7-b685-20cf42b11aean%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/CAFY0HLM8_T_s0BX9uuoA2358v9NsMVJxLC0-qvZCDQVYL-OMQg%40mail.gmail.com.
--
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/CAEEPc9mdyjW1D9pC_GLYaM3m9MrOmN3cUGNV8HCV0%3D9zYVWoFQ%40mail.gmail.com.
I assume by "within itself" you mean creating a page that is not visible to the end user. If so, then no, the Manifest V3 platform does not provide a way to interact with web content without it being visible to the end user. In Manifest V2 iframes in a background page were used for this purpose, but to the best of my knowledge that was not an intentionally supported use case.
When you say a temporary page context, is this somthing that an extension can create within itself, or does it have to be run in a browser tab as a content script? - ConradI assume by "within itself" you mean creating a page that is not visible to the end user. If so, then no, the Manifest V3 platform does not provide a way to interact with web content without it being visible to the end user. In Manifest V2 iframes in a background page were used for this purpose, but to the best of my knowledge that was not an intentionally supported use case.Content scripts could be used to get access to geolocation data, but doing so would require that the user grant the website geolocation permissions. Instead, in this case you'd likely want to use chrome.tabs.create() or chrome.windows.create() to spawn a new page (preferably without stealing the user's focus) and setting the URL to a page inside your extension's package.I don't believe the Battery Status API requires a special permission grant in Chrome, so this could be done transparently within a content script.Simeon - @dotprotoChrome Extensions DevRel
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/6075ef1b-010a-43c7-b685-20cf42b11aean%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+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/CAFY0HLM8_T_s0BX9uuoA2358v9NsMVJxLC0-qvZCDQVYL-OMQg%40mail.gmail.com.
--
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+unsubscribe@chromium.org.
the Manifest V3 platform does not provide a way to interact with web content without it being visible to the end user. In Manifest V2 iframes in a background page were used for this purpose, but to the best of my knowledge that was not an intentionally supported use case.
To the best of my knowledge, there were no “intentionally-supported use-cases” in MV2 at all, as it was designed as a platform; A set of tools and features not generally arranged or selected to support any particular software. - Cuyler
It was an intentionally supported use case and it was used by thousands of extensions and probably millions of their users. FWIW, making remarks like this makes you look really really bad as though you're trying to downplay the severity of the breakage introduced by ManifestV3's ill-advised and poorly-thought switch to service workers.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/CAFY0HLOad2i-%3DhiBpMYsdofZr0G%3DyaxxJu2SgSRrLmSpKigP0Q%40mail.gmail.com.
at the moment we don't plan to support a general purpose headless page context for extensions in Manifest V3. If you feel that interacting with pages without making those interactions visible to the end user is a critical feature for the platform, I'd love to dig more into that in a new thread to better understand your perspective.
--
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/71e8dcd4-6914-45f2-9324-65a5350f7541n%40chromium.org.
A page context gives access to ALL web capabilities. This is the reason why a page context is a critical feature.You refer to "interacting with pages without making those interactions visible to the end user" as if it was the main reason for the need of a page context; when in reality it's just only one of myriads of use cases.
"adding the ability for an extension to create a temporary DOM context with an explicitly declared purpose. [This] allows the browser to surface this purpose to the end user and help reviewers detect malicious uses of this capability."
In the last WECG meeting Devlin from the extensions engineering team shared a rough sketch of how we're thinking about addressing the lack of DOM in Manifest V3. From the minutes, we're considering "adding the ability for an extension to create a temporary DOM context with an explicitly declared purpose. [This] allows the browser to surface this purpose to the end user and help reviewers detect malicious uses of this capability." I'm hoping that we'll be able to share a more concrete proposal publicly in the WECG in early 2022.
A page context gives access to ALL web capabilities. This is the reason why a page context is a critical feature.You refer to "interacting with pages without making those interactions visible to the end user" as if it was the main reason for the need of a page context; when in reality it's just only one of myriads of use cases.Of course you're right that headless page interaction is just one of use cases for DOM APIs in an extension. I was focusing on this part because I thought Conrad was asking about when I wrote this reply. I realize now that I was a bit myopic and didn't quite hear what you and others were saying.In the last WECG meeting Devlin from the extensions engineering team shared a rough sketch of how we're thinking about addressing the lack of DOM in Manifest V3. From the minutes, we're considering "adding the ability for an extension to create a temporary DOM context with an explicitly declared purpose. [This] allows the browser to surface this purpose to the end user and help reviewers detect malicious uses of this capability." I'm hoping that we'll be able to share a more concrete proposal publicly in the WECG in early 2022.Simeon - @dotprotoChrome Extensions DevRel
On Tue, Dec 21, 2021 at 8:35 PM Cuyler Stuwe <cuylerkstuwe@gmail.com> wrote:What’s interesting about all of this is that extensions are literally the only reason people use Chrome over other browsers. Break extensions and suddenly Chromium is dead in the water. Might as well use Safari then.
--at the moment we don't plan to support a general purpose headless page context for extensions in Manifest V3. If you feel that interacting with pages without making those interactions visible to the end user is a critical feature for the platform, I'd love to dig more into that in a new thread to better understand your perspective.A page context gives access to ALL web capabilities. This is the reason why a page context is a critical feature.You refer to "interacting with pages without making those interactions visible to the end user" as if it was the main reason for the need of a page context; when in reality it's just only one of myriads of use cases.For the last 3 years, those myriads of uses cases have been mentioned in this forum and in crbug.com more times than I could remember. And yet you now say that you'd love to dig more into why a specific use case is important.... Really?I detect the following problem here:The Extensions Team seems to be obsessed with tackling one use case at a time. It's almost as if they don't realize that there's a whole world of use cases that MV3 does not support. They insist into dealing with ONE. LITTLE. PROBLEM. AFTER. ANOTHER.Do you guys really don't see that you will never make MV3 a decent replacement for MV2 if you address uses cases individually. There are too many of them!You have one year left, according to your own deadline, and it's so obvious that, at the current pace, you won't be able to cover all those individual uses cases. crbug issues are being created faster than you can solve them.Open your eyes please.
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+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/71e8dcd4-6914-45f2-9324-65a5350f7541n%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+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/CAFY0HLNPVc%3DpK-eCspXSkwwvdZvGzepZanmcEfjLxVe%3DR%2BdENg%40mail.gmail.com.
I also am concerned about the "explicitly declared purpose", I guess if it was built into the original extension install prompt it'd be less of a problem; but if it popped up every time we wanted to create one that would be hundreds (to thousands) or times a day for busy emailers! - Conrad
In the last WECG meeting Devlin from the extensions engineering team shared a rough sketch of how we're thinking about addressing the lack of DOM in Manifest V3. From the minutes, we're considering "adding the ability for an extension to create a temporary DOM context with an explicitly declared purpose. [This] allows the browser to surface this purpose to the end user and help reviewers detect malicious uses of this capability." I'm hoping that we'll be able to share a more concrete proposal publicly in the WECG in early 2022.Thanks for bringing this to the meeting!I also am concerned about the "explicitly declared purpose", I guess if it was built into the original extension install prompt it'd be less of a problem; but if it popped up every time we wanted to create one that would be hundreds (to thousands) or times a day for busy emailers!ConradSent via Superhuman
On Wed, Jan 05, 2022 at 6:07 PM, Simeon Vincent <sim...@chromium.org> wrote:
A page context gives access to ALL web capabilities. This is the reason why a page context is a critical feature.You refer to "interacting with pages without making those interactions visible to the end user" as if it was the main reason for the need of a page context; when in reality it's just only one of myriads of use cases.Of course you're right that headless page interaction is just one of use cases for DOM APIs in an extension. I was focusing on this part because I thought Conrad was asking about when I wrote this reply. I realize now that I was a bit myopic and didn't quite hear what you and others were saying.In the last WECG meeting Devlin from the extensions engineering team shared a rough sketch of how we're thinking about addressing the lack of DOM in Manifest V3. From the minutes, we're considering "adding the ability for an extension to create a temporary DOM context with an explicitly declared purpose. [This] allows the browser to surface this purpose to the end user and help reviewers detect malicious uses of this capability." I'm hoping that we'll be able to share a more concrete proposal publicly in the WECG in early 2022.Simeon - @dotprotoChrome Extensions DevRel
On Tue, Dec 21, 2021 at 8:35 PM Cuyler Stuwe <cuyler...@gmail.com> wrote:
What’s interesting about all of this is that extensions are literally the only reason people use Chrome over other browsers. Break extensions and suddenly Chromium is dead in the water. Might as well use Safari then.
--at the moment we don't plan to support a general purpose headless page context for extensions in Manifest V3. If you feel that interacting with pages without making those interactions visible to the end user is a critical feature for the platform, I'd love to dig more into that in a new thread to better understand your perspective.A page context gives access to ALL web capabilities. This is the reason why a page context is a critical feature.You refer to "interacting with pages without making those interactions visible to the end user" as if it was the main reason for the need of a page context; when in reality it's just only one of myriads of use cases.For the last 3 years, those myriads of uses cases have been mentioned in this forum and in crbug.com more times than I could remember. And yet you now say that you'd love to dig more into why a specific use case is important.... Really?I detect the following problem here:The Extensions Team seems to be obsessed with tackling one use case at a time. It's almost as if they don't realize that there's a whole world of use cases that MV3 does not support. They insist into dealing with ONE. LITTLE. PROBLEM. AFTER. ANOTHER.Do you guys really don't see that you will never make MV3 a decent replacement for MV2 if you address uses cases individually. There are too many of them!You have one year left, according to your own deadline, and it's so obvious that, at the current pace, you won't be able to cover all those individual uses cases. crbug issues are being created faster than you can solve them.Open your eyes please.
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/71e8dcd4-6914-45f2-9324-65a5350f7541n%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 be honest I was a bit hesitant to send that last email because it's so light on details. While I'm worried about giving y'all the wrong impression due to a lack of concrete details, I'm also worried about maintaining radio silence until we have every I dotted and T crossed.
I also am concerned about the "explicitly declared purpose", I guess if it was built into the original extension install prompt it'd be less of a problem; but if it popped up every time we wanted to create one that would be hundreds (to thousands) or times a day for busy emailers! - ConradTo be honest I was a bit hesitant to send that last email because it's so light on details. While I'm worried about giving y'all the wrong impression due to a lack of concrete details, I'm also worried about maintaining radio silence until we have every I dotted and T crossed.The actual proposal will go into more detail, but that's not really how we're thinking about the use of the purpose. We're thinking less like a permissions prompt and more like a signal to the browser and reviewers that the extension intends to use a particular capability. Again, I'm hoping that we can share a proposal soon and begin discussing the idea with the community and other browser vendors.Simeon - @dotprotoChrome Extensions DevRel
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsubscribe@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/71e8dcd4-6914-45f2-9324-65a5350f7541n%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+unsubscribe@chromium.org.
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/71e8dcd4-6914-45f2-9324-65a5350f7541n%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/56614c07-534e-42d0-94ff-9bd08302311fn%40chromium.org.
~~~~~~~~~~~~~~~~~~~~~~NOTE: This electronic mail message contains information that is or may be (a) legally privileged, confidential, proprietary, or otherwise protected by law from disclosure, and (b) intended only for the use of the addressee(s) named. If you are NOT the intended recipient you are hereby notified that reading, using, copying, or distributing any part of this message is strictly prohibited. If you ARE the intended recipient or an addressee, you are hereby notified that copying, forwarding or in any other manner distributing any part of this message is subject to the rules/regulations of Mehlville School District Board Policy. If you have received this electronic mail message in error, take the steps necessary to delete the message completely from your system and contact the sender.