-
-
Notifications
You must be signed in to change notification settings - Fork 209
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v3.4.2 Release: Manifest v3 Upgrade (#1042)
* Manifest v3 upgrade for Chrome. * Stores state in session storage to avoid log file bloat. * Need to uncomment line in manifest.json before running in Firefox. * Doesn't work in Safari. v3.4.2 Detailed: * first commit upgrading to manifest v3 * use chrome.windows.getCurrent get height and width * update the request header in the rules file * updated the version and move some background.js variable to chrome.storage.local * move globalAPICache to chrome.storage * move gToolbarStates to chrome.storage * remove declarativeNetRequest request from manifest * remove constants from persistent storage * globalAPICache holds temp data not needed in storage * gStatusCode removed since no longer used * fixed bug that was introduced in incrementCount() * stores toolbar states using TabData utility functions instead of gToolbarStates * clear toolbar state only if state changes * got running in Firefox, with a warning still * tweak efficiency of getting toolbar state * switch to storage.session for waybackCountCache * remove debug logs and cleanup commented code * eslint formatting fixes * commenting scripts line works in Chrome to avoid error, will need to be restored to work in Firefox --------- Co-authored-by: Anish Sarangi <[email protected]>
- Loading branch information
Showing
5 changed files
with
369 additions
and
245 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.