Sugaroo Link Conversion

Converts Taobao and Weidan links on r/FashionReps to Sugaroo links, but Pandabuy best agent, ok? I pull up at the afterparty


    // ==UserScript==
    // @name        Sugaroo Link Conversion
    // @namespace   https://github.com/earthplusthree/userscripts
    // @license     MIT
    // @match       *://www.reddit.com/r/FashionReps/*
    // @grant       none
    // @version     1.0
    // @author      earthplusthree
    // @description Converts Taobao and Weidan links on r/FashionReps to Sugaroo links, but Pandabuy best agent, ok? I pull up at the afterparty
    // ==/UserScript==
     
    window.onload = () => {
      Array.from(document.getElementsByTagName("a"))
        .filter((link) => link.href.includes("://item.taobao.com/item.htm") || link.href.includes("://weidian.com/item.html"))
        .forEach((link) => {
          link.href = "https://www.sugargoo.com/index/item/index.html?url=" + encodeURIComponent(link.href);
          link.innerText = link.innerText + " (SUGAROO)";
        });
    };

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址