Persistant storage for unpacked Chrome Extension - google-chrome

I'm trying to use a kind of storage to persist some state for unpacked chrome extension, but I'm noticing that both localForage localStorage resets itself when I remove the extension and reload it into the extensions page in Google Chrome.
Are there any other storage options or methods which will persist storage even if the extension is removed from your Chrome's extensions?

Related

Chrome extension not syncing

I wrote a google chrome extension which should sync data to my chrome profile to all of my computers.
Therefore i'm using the chrome storage api: Google Chrome Storage
I'm able to store and read the data on my primary pc. But on my other computer the data is not accessible.
I'm using the same profile on both computers. And i'm using the chrome.storeage.sync methods.
Because i don't want to publish the extension now i installed the extension with the developer mode activated and not over the chrome store.
Is this the reason why the data is not syncing?
Ok, i now published my app to the chrome store and now it's syncing.
So syncing is not working while your extension is under development.

Chrome plugin to allow to open file://

From our website, we need to open a local resource via file://something. We are getting a security error - at least in Chrome. Is it possible to allow files to be read via a file:// protocol by writing a Chrome plugin and saving an allowed location there? Any suggestions?

How to enable chrome extension without user intervention (programmatically)

I made a chrome extension and want its installation to be done as a part of software installation setup using windows registry. It installs the extension for chrome, but in disabled state. Extension is listed in the list of installed extension in chrome://extensions. How can I enable the extension using code(without end-user intervention). I don't want my user to enable it manually.
You can't directly enable chrome extension because of chrome security police(After Chrome 25).
Extensions installed by third party programs using external extension deployment options will be disabled by default. When a third party program installs an extension, the Chrome menu will be badged, and users can click through the Chrome menu to see a dialog containing an option to enable the extension or to remove it from their computer.
In addition, all extensions previously installed using external deployment options will be automatically disabled. Chrome will show a one-time prompt to allow the re-enabling of any of the extensions.
But you can use inline installation but you need to upload your extension in Chrome Web Store and ask to user directly like this.
For More information check below links :
No more silent extension installs
Protecting Windows users from malicious extensions

Local Storage in Google Chrome Application tab is missing data

For some reason Google Chrome Local Storage sub-tab located within Developer Tools -> Application -> Storage tab doesn't display data. When I enter localStorage in console, then local storage data is printed out. Please advise what might be an issue with my Chrome settings.
It is a known bug that has been reported here:
https://bugs.chromium.org/p/chromium/issues/detail?id=701413
As a work around (until the bug is fixed) you can close & reopen Developer Tools after a page refresh - Local Storage should be visible in the Application tab on initial open of dev tools.

Auto enable chrome extension installation

I am using Chrome 25.0.1364.152 m and I develop a Chrome Extension. I wanna install it as an external extension and I succeed. The only problem is that I must enable this extension manually. That means I have to enable it every user profile. (I have lots of Chrome user profile on my machine) Is there any way to do this enable work automatically(via preference or something)?