您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
进入系统后,三秒后注入devtools到vue
当前为
// ==UserScript== // @name 注入vue到智慧基建 // @namespace http://tampermonkey.net/ // @version 20250401145811 // @description 进入系统后,三秒后注入devtools到vue // @author You // @match https://10-152-252-1-9fse9py3ym8010c.ztna-dingtalk.com/* // @match https://test1.gzztdh.com:9445/* // @icon https://www.google.com/s2/favicons?sz=64&domain=ztna-dingtalk.com // @grant none // ==/UserScript== (function () { 'use strict'; window.onload = function () { setTimeout(function () { // Your code here... if (!$) { return } let jqe = $("#app"); if (!jqe) { return; } const devtools = window.__VUE_DEVTOOLS_GLOBAL_HOOK__; const Vue = jqe[0].__vue__.__proto__.__proto__.constructor; Vue.config.devtools = true; devtools.emit("init", Vue); }, 3000) } })();