+ Add Question

Add attachment from Gmail extension doesn't work



I can not attach files from the Gmail extension (i.e. embedded in Gmail) but it works fine when the app is in a separate browser tab by using this URL: https://gmail.todoist.com/app

In the chrome console, I can see this error when I'm uploading the file:

Uncaught SecurityError: Blocked a frame with origin "https://gmail.todoist.com" from accessing a frame with origin "https://mail.google.com". Protocols, domains, and ports must match.

All responses

Clyde Romo  staff
Replied on Apr 25, 2014 - 12:02 UTC

Hi Mathieu,

Unfortunately, this issue is due to a browser limitation regarding uploading files through extensions which means we would not be able to get around it. Sorry for the inconvenience.



Mathieu Perez
Replied on Apr 25, 2014 - 13:19 UTC

Unless you find a workaround, maybe you should hide this feature when the
app is embedded within Gmail.