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 -~----------~----~----~----~------~----~------~--~---
