您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
2024/10/29 10:56
// ==UserScript== // @name 店小秘[速卖通]列表显示全部🛠 // @namespace Violentmonkey Scripts // @license MIT // @match https://www.dianxiaomi.com/smtProduct/* // @grant GM_xmlhttpRequest // @require https://update.gf.qytechs.cn/scripts/499487/1427818/%E5%BA%97%E5%B0%8F%E7%A7%98%E9%80%9A%E7%94%A8%E5%87%BD%E6%95%B0.js // @require https://update.gf.qytechs.cn/scripts/522088/1512255/%E6%89%A9%E5%B1%95%E5%8A%9F%E8%83%BD.js // @grant none // @version 1.13 // @author - // @description 2024/10/29 10:56 // ==/UserScript== var bnt = $(`<li class='showall'><a href="javascript:;">显示全部</a></li>`); const pushBnt = function(){ bnt.on("click",async function(){ $('#loading').modal('show'); var url = 'https://www.dianxiaomi.com/smtProduct/pageList.htm' var data = smtPageListSearchData(); data.pageSize = '300'; let book = await tool.getTotalPage(url,data,op='POST'); pages = book[0]; for (var i = 1;i<book.length;i++){ pages.find("#goodsContent tbody.xianshishujudate").append(book[i].find("#goodsContent tr.content")); } var html = pages.map(function(){return this.outerHTML}).toArray().join(""); $('#pageList').html(html) $('#loading').modal('hide'); }); var hasList = !!$("#pageList"); if(hasList && !$("li.showall").length){ $("#upPage:has(*),#downPage:has(*)").append(bnt); } } window.onload = function(){ pushBnt(); $(".in-container:eq(0)").append(single); const MYJ_PAGINATION_init_HOOK = unsafeWindow.MYJ_PAGINATION.init; unsafeWindow.MYJ_PAGINATION.init = function(option,id,call){ MYJ_PAGINATION_init_HOOK(option,id,call); pushBnt(); } }
QingJ © 2025
镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址