Skip to content

injects Chromium extension into packaged electron apps. highly experimental. might work.

Notifications You must be signed in to change notification settings

cyyynthia/electron-ext-injector

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Electron Extension Injector

injects Chromium extension into packaged electron apps. highly experimental. might work.

use Alt+Shift+E to access extension menus & settings & stuff. use Ctrl+Alt+Shift+E to open and pop devtools for the view.

many extensions won't work because of electron's limited apis. there's a small compat layer helping with that. for the rest, deal with it.

on some electron versions, some extensions may segfault. electron devs are competent (lol no). removing references to webRequest in manifest perms may help.

notes:

  • doesn't deal with updates. maybe if it ends up bothering me ill add it. make shell scripts. 🤷
  • may not like updates and require re-injecting. deal with it. make shell scripts. 🤷
    • some packages like discord_arch_electron have builtin support for that. eh.
  • sudo/doas probably required on linux. 🤷
node src/injector.js <path/to/electron/executable> <path/to/unpackaged/extension>
-- OR --
node src/injector.js <path/to/electron/executable> <crx id from the cws>

remove stuff in path/to/electron/app/eei-exts to delete extensions.

it doesn't work

too bad

can i get help for-

no

why

🤷

License

Copyright (c) Cynthia Rey, All rights reserved.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

About

injects Chromium extension into packaged electron apps. highly experimental. might work.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages