Is it possible to determine a tab's opener within a Google Chrome extension?
问题 I am looking for a way to determine a given tab's opener (parent tab) within a Google Chrome extension. I've looked at the documention for Tab but there doesn't really seem to be anything that would yield this information. http://code.google.com/chrome/extensions/tabs.html I've tried injecting this content script into pages (thinking I could pass the value to my background page): alert(window.opener); .. but it just yields null. The best thing I've come up with so far is to keep track of the