I would like to store user data for my chrome extension, I can use either storage.sync or storage.local.
When using storage.sync, the stored data will automatically be synced to any Chrome browser that the user is logged into, provided the user has sync enabled.
In the following example, I will utilize storage.sync to fulfill this requirement
Steps are as bellows:
1. Add options_page and storage permissions in manifest.json
2. Add options.html
3. Add options.js
4. Reload extension and do test