Skip to content

Conversation

@kevin-lee
Copy link

Update to comply with chrome manifest v3

As you may know, this extension doesn’t work on the latest Chrome anymore, so I updated it to make it usable.

v1.8.0 / 2025-04-06

  • Update extension to Manifest V3 to comply with Chrome requirements
  • Update CSS variable selectors to match GitHub's current implementation
  • Modernize Chrome Storage API with Promise-based approach
  • Add proper error handling with detailed error messages
  • Add required "action" field to replace deprecated "browser_action"
  • Improve code readability with modern JavaScript syntax
  • Enhance error logging for better debugging

Sorry, I wasn’t sure how to contribute this, so I included the changelog too.

This commit updates the Chrome extension from Manifest V2 to Manifest V3 to comply with Google's latest requirements:

- Update manifest.json to use manifest_version 3 and add the action field
- Modernize Chrome Storage API usage in contentscript.js and options.js to use Promises
- Update CSS variable selectors to match GitHub's current contribution graph implementation
- Add better error handling with detailed error messages

These changes ensure compatibility with Chrome's latest extension requirements while preserving all functionality.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant