得物图片获取

得物图片快捷下载

  1. // ==UserScript==
  2. // @name 得物图片获取
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description 得物图片快捷下载
  6. // @require https://cdn.staticfile.org/jquery/3.4.1/jquery.min.js
  7. // @author 烟花小神
  8. // @license MIT
  9. // @match https://m.poizon.com/**
  10. // @icon https://www.google.com/s2/favicons?sz=64&domain=poizon.com
  11. // ==/UserScript==
  12.  
  13. (function () {
  14. 'use strict';
  15. $('.UserInfoCard_follow-btn__IhvwM').html("下载");
  16. $('.UserInfoCard_follow-btn__IhvwM')[0].onclick = function () {
  17. setTimeout(function () {
  18. $('.QrcodeModal_box__2CQ3_').css({ "width": "auto", "padding-left": "8px" })
  19. $('.QrcodeModal_qrcode__3Yh2z').remove();
  20. $(".QrcodeModal_desc__2X55Q").html("");
  21. var h = '<div class="swiper-wrapper" style="transform: translate3d(0px, 0px, 0px);">'
  22. $(".PhotoSwiper_sub-swiper__2DawT .img-box-inner").each(function () {
  23. var srcImg = $(this).attr("src");
  24. srcImg = srcImg.replace(/w_.*/, 'w_1080');
  25. h += `<div style="margin-right: 8px;"><a target="_blank" href="${srcImg}"><img draggable="false" src="${srcImg}" style="opacity: 1;width: 60px;height: 60px;"></a></div>`
  26. });
  27. $(".QrcodeModal_desc__2X55Q").html(h + '</div>');
  28. }, 10)
  29. }
  30. })();

QingJ © 2025

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