Live data from Hacker News

Cannot read clipboard from service worker in a MV3 chrome extension (2020)

bugs.chromium.org

21–30 of 56 posts

Re: Cannot read clipboard from service worker in a MV3 chrome extension (2020)

#21

> Thanks for the issue.... > Thanks..... Aside: Do people know that trailing "..." tends to communicate annoyance or sarcasm? I think the people writing it think it means something else, like some sort of intermission before the next thing they write, but I wouldn't include it in professional comms at all.

I think it has a different tone to different people? I had a friend who used to put it after most messages and I thought they were upset with me until I asked. It was just how they wrote. I've also noticed more people using it to indicate a trailing off of voice, not necessarily with any annoyance emotion.

Maybe it’s a cultural thing cause even a trailing voice does communicates the same connotations of being upset. I know of only two buses of the triple dots: showing there’s more content in a quote or to express annoyance.

Re: Cannot read clipboard from service worker in a MV3 chrome extension (2020)

#22

> Thanks for the issue.... > Thanks..... Aside: Do people know that trailing "..." tends to communicate annoyance or sarcasm? I think the people writing it think it means something else, like some sort of intermission before the next thing they write, but I wouldn't include it in professional comms at all.

It's like "loading....", but they are unloading.

Re: Cannot read clipboard from service worker in a MV3 chrome extension (2020)

#23

> Thanks for the issue.... > Thanks..... Aside: Do people know that trailing "..." tends to communicate annoyance or sarcasm? I think the people writing it think it means something else, like some sort of intermission before the next thing they write, but I wouldn't include it in professional comms at all.

No, I don’t think people think that… because that isn’t what it means. People aren’t annoyed or sarcastic towards you… they are just pausing for a second.

I feel as though a comma and the end communicates a pause better. Especially since it use in formal English is similar.

Re: Cannot read clipboard from service worker in a MV3 chrome extension (2020)

#24

I know there are a lot of valid complaints about Manifest v3, but I don't understand this one. You're telling me that browser extensions should be able to read and write to my clipboard silently at all times, with no user activation or notification? Honestly, that's kind of horrifying, and I'm shocked to hear it existed on v2 extensions. It sounds like a great way to build a keylogger for user passwords. What are som…

>with no user activation or notification What? By choosing to install the extension you are activating it.

Do you also apply this logic to all other forms of hardware and software? For example TVs that spy on what you're watching.

Re: Cannot read clipboard from service worker in a MV3 chrome extension (2020)

#25

I know there are a lot of valid complaints about Manifest v3, but I don't understand this one. You're telling me that browser extensions should be able to read and write to my clipboard silently at all times, with no user activation or notification? Honestly, that's kind of horrifying, and I'm shocked to hear it existed on v2 extensions. It sounds like a great way to build a keylogger for user passwords. What are som…

Well an extension can also just send your session tokens home. In the end it's software running on your computer, but people unfortunately often times underestimate the power of add-ons (read the permissions screen folks!). Mozilla requires a manual code review before allowing add-ons into the store because of this afaik.

In my example there was direct user interaction (clicking a context menu) but the service worker (background script) has no API to interact with the clipboard at all.

I guess my point is not that it's an easy thing to fix, but the fact that it looks like nobody at Google has thought about this before forcing everybody to migrate is concerning.

Re: Cannot read clipboard from service worker in a MV3 chrome extension (2020)

#26
post #23

Earlier quoted context omitted.

No, I don’t think people think that… because that isn’t what it means. People aren’t annoyed or sarcastic towards you… they are just pausing for a second.

I feel as though a comma and the end communicates a pause better. Especially since it use in formal English is similar.

Another name for ellipses (…) is “suspension point” and doesn’t have any true grammatical purposes, unlike a comma. A comma doesn’t necessarily indicate a pause and makes no sense to insert randomly… wherever you’d like the reader to pause.

Re: Cannot read clipboard from service worker in a MV3 chrome extension (2020)

#27
post #24

Earlier quoted context omitted.

>with no user activation or notification What? By choosing to install the extension you are activating it.

Do you also apply this logic to all other forms of hardware and software? For example TVs that spy on what you're watching.

When I install any piece of software I assume it could do anything and everything on the system.

Re: Cannot read clipboard from service worker in a MV3 chrome extension (2020)

#28
post #11

I think Chrome's reasoning for this is completely fair: > navigator.clipboard is only intended to be used in a focused document, which is not possible for service workers. Therefore, I don't anticipate any intended support for navigator.clipboard.read on service workers I don't think a browser extension, which I personally consider it sit in between "native app" and "website" in terms of privilege hierarchy, should b…

My use case: A background script, sorry, Service Worker registers a Context Menu Entry. When the user clicks on it it fetches some stuff an copies a link to clipboard. Using MV3 as it is this is not possible. As someone in the thread said, it is not really feasible to try to find all ways that user interaction can trigger code that requires clipboard access. If that is the route Google want to go down it will take ye…

"User interaction to perform an action" im pretty sure is a part of the HTML/JS spec. For example, browsers on iOS will not let you play a video unless in response to a "user action".

Re: Cannot read clipboard from service worker in a MV3 chrome extension (2020)

#29
post #10

> Thanks for the issue.... > Thanks..... Aside: Do people know that trailing "..." tends to communicate annoyance or sarcasm? I think the people writing it think it means something else, like some sort of intermission before the next thing they write, but I wouldn't include it in professional comms at all.

My otherwise high-EQ boss does this all the time and it drives me bonkers.

I definitely think it's a generational thing, my mum loves ending sentences with '...' and honestly O don't know why. Reading it makes it seems like annoyance but I know that it isn't, so I don't know if it was just something they were taught?

Re: Cannot read clipboard from service worker in a MV3 chrome extension (2020)

#30

Does any one have a sense of the likelihood that Google extends the original timeline for this changeover? How can you force everyone to update their software (in some cases overhaul) to a new system that isn't fully built yet? My company has two Chrome extensions, one of which is partly updated, and the other of which we haven't started yet. We have no idea what we'll discover when we begin the process of updating t…

Firefox did it. It's extension market never fully recovered. I don't expect the same to happen to Chrome though -- different situation.
Post reply on HN