I encountered an issue while developing other features that require the use of GitHub tokens. The feature of storing and using GitHub tokens on the option page previously done by others is not available, and you will find that you cannot obtain GitHub tokens already stored on other pages at all. I have already made the necessary changes to this section.
localStorage.setItem:If you use localStorage in the options page of the plugin, the stored data can only be used in that option page and the same plugin context.
Use the chrome. storage API to storage and obtain data. This API can share data in all contexts, including option pages and content scripts.
Brief Information
This pull request is in the type of (more info about types):
Related issues (all available keywords):
Details
I encountered an issue while developing other features that require the use of GitHub tokens. The feature of storing and using GitHub tokens on the option page previously done by others is not available, and you will find that you cannot obtain GitHub tokens already stored on other pages at all. I have already made the necessary changes to this section.
localStorage.setItem
:If you use localStorage in the options page of the plugin, the stored data can only be used in that option page and the same plugin context. Use thechrome. storage
API to storage and obtain data. This API can share data in all contexts, including option pages and content scripts.Checklist
Others