您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
try to take over the world!
当前为
// ==UserScript== // @name 长河审批 ID 转换 // @namespace http://tampermonkey.net/ // @version 0.2 // @description try to take over the world! // @author fangxianli // @match https://ch.sankuai.com/approval-batch/index.html // @grant none // ==/UserScript== (function() { 'use strict'; const input = document.querySelector('.el-input__inner') input.addEventListener('paste', function (e) { window.clipboardData = e.clipboardData const updateValue = e.clipboardData.getData('text/plain') this.value = updateValue.replace(/[^\d,]/g, ',').split(',').filter(val => val && val.length === 6).join(',') const inputEvent = new InputEvent('input') this.dispatchEvent(inputEvent) this.select() document.execCommand('copy') }) })();
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址