您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
显示隐藏的列表项:召唤人工客服按钮
// ==UserScript== // @name 显示阿里万象召唤人工客服按钮 // @namespace http://tampermonkey.net/ // @version 2024-06-18 // @description 显示隐藏的列表项:召唤人工客服按钮 // @author You // @match https://everyhelp.taobao.com/screen/home.htm* // @icon https://www.google.com/s2/favicons?sz=64&domain=taobao.com // @grant none // @license MIT // ==/UserScript== (function() { 'use strict'; // Function to search for the <li> tag and modify its display property function showHiddenListItem() { // Get all <li> tags on the page const listItems = document.querySelectorAll('li'); // Iterate through each <li> tag listItems.forEach(li => { // Check if the <li> tag contains the specific substring if (li.innerHTML.includes('召唤人工客服')) { // Modify the CSS to display the <li> tag li.style.setProperty('display','inline-flex','important'); } }); } // Run the function after the page has loaded window.addEventListener('load', showHiddenListItem); })();