The problem: a Chrome sidebar
For a long time, I've wanted a Chrome extension that puts other content in a sidebar within Gmail, much like the Remember the Milk Gmail extension.
It seems I'm not alone2 but the Chrome devs have made this functionality much more difficult than, say, Firefox3. After failing to make several hacks and workarounds function, I used extensionizr and someone else's code to write my first Chrome extension.
The aim is to allow me to have a sidebar with a to-do list or whatever iframe
I want available in my Chrome tabs, especially my Gmail tab.
The issue: iframe
s in Gmail html pages
The issue I'm having is that with https://todoist.com/ as my iframe
src, it works in every tab I've tried except Gmail. A caveat: it works in some Gmail accounts but not others. I can't find any differences that would cause this.
I've tried disabling all other extensions in case there are the compatibility issue but no luck and it works in some Gmail accounts even with everything activated. I've tried disabling all Labs and changing all settings to match but still no dice.
Another angle where SSL is interfering (but with very weird symptoms)?
I'm inclined to think it's an SSL issue as Gmail doesn't like embedding iframe
s with non HTTPS content but this doesn't make sense because it works with some Gmail accounts, not others.
Any thoughts, input, advice would be greatly appreciated as I'm an utter novice and completely stuck here.
More info in case it helps: when I edit the page source, I can literally remove everything in the Gmail page apart from html
and body
tags and the injected iframe and it still comes up blank as though the content isn't being grabbed by the iframe
src in the first place somehow...
addendum the second: a) Logging network data, with the working account it pulls the data successfully from the SSL site with a GET request. On the non-working account, no request is ever made. b) Even if I load Gmail, then strip down the DOM to bare HTML and body tags then inject the iframe it comes up blank. The source is as follows but no content is requested, loaded or displayed. wtactualf?!
<html class="aAX" style="position: relative; width: 1187px;">
<body class="aAU fullcontact-minimized GmInitDone">
</body>
<iframe id="someSidebar" src="https://todoist.com/" frameborder="0" allowtransparency="false" style="position: fixed; height: 100%;border:none;z-index: 2147483647;top:0px;right:0px;width: 400px;"></iframe>
</html>