To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/40b6e616-ee56-456c-b94b-0e3423141e44%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 post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
But you can add it to permissions to make it work.
On Tue, Sep 24, 2013 at 5:13 PM, Sean Anderson <meo...@gmail.com> wrote:
As a follow up -- I think I've tracked down the bug in question: https://code.google.com/p/chromium/issues/detail?id=161471#makechangesIt looks like using Chrome permissions to allow for content_script injection doesn't prevent canvas tainting. This is real root cause of the issue. If the canvas wasn't tainted I would be able to post a base64 encoded representation of the image out of the iframe.
On Tuesday, September 24, 2013 2:29:05 PM UTC-7, Sean Anderson wrote:Hey all,I have an <iframe> element hosted on a background page. The iframe has a different domain than my chrome extension. I've requested all the necessary permissions to inject JavaScript, HTML and CSS into the iframe. It all works great.I was hoping to render to my foreground page some of the information in this iframe. I can get access to the iframe from the foreground page via $(chrome.extension.getBackgroundPage().document).find('iframe'). I was hoping to then be able to render a screencap of a video currently residing in the iframe.However, it appears that the following security restrictions are coming into play: http://www.w3.org/TR/html5/embedded-content-0.html#security-with-canvas-elementsUnder normal circumstances, I would consider myself hosed. However, I've already got the full ability to inject and modify everything about the page thanks to elevated permissions from the extension. Did I drop the ball somewhere? Is it possible to interact more heavily with the iframe element through the extension? I suspect even base64 encoding the image data and posting a message back out of the iframe might work, but I continue to encounter security restrictions.Forgive my naivety! Thank you for reading and let me know if you have any questions/concerns.Thanks
--
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 post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/43fd3d39-b3c5-4548-8fb6-49847b0e9788%40chromium.org.
Try "*://*.youtube.com/*"
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extensions+unsubscribe...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/40b6e616-ee56-456c-b94b-0e3423141e44%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.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
Try loading the canvas in the background
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/db6fb008-6c99-48ea-86a0-09d79b135d49%40chromium.org.
Hey Scott,
Try "*://*.youtube.com/*"
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/43fd3d39-b3c5-4548-8fb6-49847b0e9788%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.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/2819bce1-da49-45f9-82b6-8f53f9d4e78d%40chromium.org.
☆PhistucK
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/db6fb008-6c99-48ea-86a0-09d79b135d49%40chromium.org.
For more options, visit https://groups.google.com/a/chromium.org/groups/opt_out.
--
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 post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-extens...@chromium.org.
To post to this group, send email to chromium-...@chromium.org.
Visit this group at http://groups.google.com/a/chromium.org/group/chromium-extensions/.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/7a6166ef-298a-4e2f-bdee-2ee24bed9e99%40chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/chromium-extensions/CABc02_Kx9aL7VCBCxnarjeRw6dg8iXYh%3DDjt2Ugf1HvRoFzn5g%40mail.gmail.com.