Skip to content

Manifest v2 sunset in June 2023 #31

@JeanRemiDelteil

Description

@JeanRemiDelteil

Extension will stop working if not migrated to manifest V3
Source: https://developer.chrome.com/blog/more-mv2-transition/

Issues found so far

  • content script JS does not live in the same world as the page JS
    => prevent accessing monaco editor API, we can't register new themes, nor change the current theme.
  • Solution to first issue is to use a background script to inject code in the MAIN world.
    => this work, with the following limitations: the script must be self-contained (no function call outside the injected scope)
  • Injected script can not insertHTML from a string, so innerHTML does not work.
    => This prevent to inject the whole script to avoid scope issues.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions