Skip to content

How can I include an unsandboxed extension by default? #718

Answered by GarboMuffin
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

Some suggestions:

  • Add it to the extension library here:
    {
    name: 'Gamepad',
    extensionId: 'Gamepad',
    extensionURL: 'https://extensions.turbowarp.org/gamepad.js',
    iconURL: gamepadIcon,
    description: 'Directly access gamepads instead of just mapping buttons to keys.',
    tags: ['tw'],
    incompatibleWithScratch: true,
    featured: true
    },
  • If for some reason you actually want to load an unsandboxed extension by default, do something similar to this:
    for (const extension of urlParams

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@ghost
Comment options

@GarboMuffin
Comment options

@ghost
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant