In what version?Beta, Dev or Chromium? Beta and Dev uses the chromium object, revision 15310<http://src.chromium.org/viewvc/chrome?view=rev&revision=15310> changed the name of the object to chrome. (So, chromium.tabs got changed to chrome.tabs)
Maybe it helps. ☆PhistucK On Thu, May 7, 2009 at 10:47, jack <[email protected]> wrote: > > I just tried to use bookmark to save info: > > http://code.google.com/p/chromium/issues/detail?id=11431 > > It seems that the bookmark system only works in the extension itself. > i.e., "chromium.bookmarks" is only defined in the extension domain > (chrome-extension://[id]/name.html), but no in the web domain (e.g., > http://domain.com). That means in order to save user information from > the web domain (e.g., http://domain.com), the content script needs to > communicate w/ the extension, as described in this page: > > > http://dev.chromium.org/developers/design-documents/extensions/process-model > > http://dev.chromium.org/developers/design-documents/extensions/content-scripts > > But I just tried, and > > 1) "extension" is undefined in the content script, not mentioning > "extension.addEventListener" > 2) "chromium.extension.connect" always fails. > > Any ideas or comments? > > P.S. a side question: is "hidden_pages" or "chrome_scripts" still > alive in manifest.json? > > -Jack > > > --~--~---------~--~----~------------~-------~--~----~ Chromium Developers mailing list: [email protected] View archives, change email options, or unsubscribe: http://groups.google.com/group/chromium-dev -~----------~----~----~----~------~----~------~--~---
