Greasy Fork 支持简体中文。

测试脚本1

测试脚本测试

// ==UserScript==
// @name         测试脚本1
// @namespace    https://www.vmall.com/*
// @version      0.1
// @description  测试脚本测试
// @author       Wind_DSA
// @match        https://m.vmall.com/portal/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=atlasinfo.com.cn
// @grant        none
// ==/UserScript==

  setTimeout(() => {
    // 获取页面中所有的div元素
    const divElements = document.getElementsByTagName("div");
    const divsWithHeight76px = [];
    for (let i = 0; i < divElements.length; i++) {
      const div = divElements[i];
      const divHeight = div.offsetHeight;
      if (divHeight === 74) {
        divsWithHeight76px.push(div);
      }
    }
    setInterval(() => {
      divsWithHeight76px[1].click();
    }, 500);
  }, 2000);