Conversation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔄 Migrate to Manifest V3 for Chrome 141+ Compatibility
Overview
This PR migrates the Decreased Productivity extension from Manifest V2 to Manifest V3 to restore compatibility with Chrome 141+ and make it publishable on the Chrome Web Store again. The extension was previously delisted due to Manifest V2 deprecation.
🎯 Key Changes
Manifest V3 Migration
manifest.jsonto version 3 with all required API changeschrome.pageAction→chrome.actionchrome.tabs.executeScript→chrome.scripting.executeScriptchrome.extension→chrome.runtimescripting,storage,contextMenushost_permissionssectionService Worker Implementation
localStorageshim usingchrome.storage.localfor service worker compatibilityBug Fixes & Improvements
Version & Documentation
0.47.0.1(minor version for compatibility update)✅ Functionality Preserved
All original features remain intact:
🧪 Testing
The extension has been thoroughly tested with:
📦 Installation
Users can install via:
🔧 Technical Details
chrome.storage.localwith localStorage fallback🎉 Result
The extension is now fully compatible with modern Chrome versions and ready for Chrome Web Store publication, maintaining 100% of its original functionality while meeting Google's latest extension requirements.
Closes: Compatibility issues with Chrome 141+
Fixes: Manifest V2 deprecation warnings
Enables: Chrome Web Store publication
This migration was completed with assistance from Cursor AI to ensure code quality and compatibility.