Created
July 29, 2024 15:42
-
-
Save dhananjaipai/86642ed6f97dc07304ab8f0b16553b16 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name DevTools Android | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Use Eruda to enable devTools for Android | |
// @author dhananjaipai | |
// @match *://*/* | |
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw== | |
// @grant none | |
// ==/UserScript== | |
window.__devTools = () => { | |
let s = document.createElement('script'); | |
s.src = "https://cdn.jsdelivr.net/npm/eruda"; | |
s.addEventListener('load', function() { eruda.init(); }); | |
document.head.appendChild(s); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment