Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Plasma Browser Integration Plasma Browser Integration
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Bugzilla
    • Bugzilla
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • PlasmaPlasma
  • Plasma Browser IntegrationPlasma Browser Integration
  • Merge requests
  • !84

Register page-script.js as content script

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Fabian Vogt requested to merge work/fvogt/manifestmorev3 into work/kbroulik/manifestv3 Dec 30, 2022
  • Overview 0
  • Commits 1
  • Pipelines 2
  • Changes 3

With MV3, it's possible to register a content script running in the "MAIN" world. This is more reliable than injecting a script tag.

I'm not entirely sure what the best way to deal with the content script order is. Can we assume that both content scripts will be loaded simultaneously "enough" so that none of the events will be missed?

Edited Dec 30, 2022 by Fabian Vogt
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: work/fvogt/manifestmorev3