Last active
May 25, 2023 09:58
-
-
Save yang10560/4a45854ed5fd501463aa65c15c63133a to your computer and use it in GitHub Desktop.
能让手机浏览器的像电脑脑F12一样调试代码,查看console控制台信息,查看网页源码,js调试等。
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 手机浏览器console控制台加载 | |
// @namespace http://tampermonkey.net/ | |
// @version 0.5 | |
// @description 能让手机浏览器的像电脑脑F12一样调试代码,查看console控制台信息,查看网页源码,js调试等。 | |
// @author 夜雨 | |
// @match http://*/* | |
// @match https://*/* | |
// @license MIT | |
// @require https://cdn.staticfile.org/eruda/3.0.0/eruda.min.js | |
// @run-at document-end | |
// ==/UserScript== | |
(function () { | |
'use strict'; | |
eruda.init(); | |
// Your code here... | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment