All Projects → tintinweb → Electron Inject

tintinweb / Electron Inject

Inject javascript into closed source electron applications e.g. to enable developer tools for debugging.

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to Electron Inject

Devtools Playground
Standalone Devtools for prototyping & debugging
Stars: ✭ 190 (+26.67%)
Mutual labels:  electron-app, debugging-tool
Livepython
Visually trace Python code in real-time.
Stars: ✭ 2,456 (+1537.33%)
Mutual labels:  electron-app, debugging-tool
Debugtron
Debug in-production Electron based app
Stars: ✭ 480 (+220%)
Mutual labels:  electron-app, debugging-tool
Mercury
Mercury is the budget planner of the 21st century ! Based on Electron, it can be deployed in on virtually any OS
Stars: ✭ 134 (-10.67%)
Mutual labels:  electron-app
Lx Music Desktop
一个基于 electron 的音乐软件
Stars: ✭ 14,964 (+9876%)
Mutual labels:  electron-app
Frodo2
Android Library for Logging RxJava2 Components
Stars: ✭ 142 (-5.33%)
Mutual labels:  debugging-tool
Android Debugport
A Read-Eval-Print-Loop server for Android and SQLite
Stars: ✭ 147 (-2%)
Mutual labels:  debugging-tool
Androidsnooper
Android library to record the network calls through the interceptor mechanism of the http clients.
Stars: ✭ 132 (-12%)
Mutual labels:  debugging-tool
Dbgchild
Debug Child Process Tool (auto attach)
Stars: ✭ 145 (-3.33%)
Mutual labels:  debugging-tool
Google Assistant Unofficial Desktop Client
A cross-platform unofficial Google Assistant Client for Desktop (powered by Google Assistant SDK)
Stars: ✭ 2,534 (+1589.33%)
Mutual labels:  electron-app
Curve Studio
Minimalist Electron app for designing spline curves
Stars: ✭ 140 (-6.67%)
Mutual labels:  electron-app
Before Dawn
A desktop screensaver app using web technologies
Stars: ✭ 135 (-10%)
Mutual labels:  electron-app
Raven Reader
📖 All your articles in one place. Beautiful.
Stars: ✭ 2,040 (+1260%)
Mutual labels:  electron-app
Realm Studio
Realm Studio
Stars: ✭ 134 (-10.67%)
Mutual labels:  electron-app
Electron React Typescript Webpack Boilerplate
Pre-configured boilerplate for Electron + React + TypeScript + Webpack
Stars: ✭ 146 (-2.67%)
Mutual labels:  electron-app
Imgui sdl
ImGuiSDL: SDL2 based renderer for Dear ImGui
Stars: ✭ 134 (-10.67%)
Mutual labels:  debugging-tool
Musicplayer
A minimal music player built on electron.
Stars: ✭ 145 (-3.33%)
Mutual labels:  electron-app
Gdb Frontend
☕ GDBFrontend is an easy, flexible and extensionable gui debugger.
Stars: ✭ 2,104 (+1302.67%)
Mutual labels:  debugging-tool
Toby
A YouTube player for the desktop
Stars: ✭ 136 (-9.33%)
Mutual labels:  electron-app
Ololog
A better console.log for the log-driven debugging junkies
Stars: ✭ 141 (-6%)
Mutual labels:  debugging-tool

💉 electron-inject

You find yourself locked out of closed source electron applications with no easy way to enable developer tools? ↷ electron-inject is here to help 👲

electron-inject is an application wrapper that utilizes the remote debug console to inject javascript code into electron based applications. For example, this can be pretty handy to enable otherwise unavailable features like the built-in developer console.

slack

install

$ pip install electron-inject

or

$ python setup.py install

usage

$ python -m electron_inject --help
Usage:
    usage:
           electron_inject [options] - <electron application>

    example:
           electron_inject --enable-devtools-hotkeys - /path/to/electron/powered/application [--app-params app-args]


Options:
  -h, --help            show this help message and exit
  -d, --enable-devtools-hotkeys
                        Enable Hotkeys F12 (Toggle Developer Tools) and F5
                        (Refresh) [default: False]
  -b, --browser         Launch Devtools in default browser. [default: False]
  -t TIMEOUT, --timeout=TIMEOUT
                        Try hard to inject for the time specified [default:
                        none]
  -r RENDER_SCRIPTS, --render-script=RENDER_SCRIPTS
                        Add a script to be injected into each window (render
                        thread)

Showcase

Inject hotkeys F12:toggle devconsole and F5:reload into closed source apps with devconsole disabled.

--enable-devtools-hotkeys .. enable developer hotkeys --timeout=xx .. patch all known remote webContent/windows in a timeframe of xx seconds. set this to an arbitrary high value to make sure we're patching all future windows.

whatsapp

$ python -m electron_inject -d -t 60 - \\PATH\TO\Local\WhatsApp\app-0.2.2244\WhatsApp.exe

whatsapp gif

If this gives you an error try launching it with the alternative browser method:

$ python -m electron_inject --browser - \PATH\TO\Local\WhatsApp\app-0.2.2244\WhatsApp.exe

slack

$ python -m electron_inject -d -t 60 - \\PATH\TO\Local\slack\app-2.5.2\slack.exe

slack

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].