屏蔽Linda

try to save your eyes

  1. // ==UserScript==
  2. // @name 屏蔽Linda
  3. // @namespace http://tampermonkey.net/
  4. // @version 2.0
  5. // @description try to save your eyes
  6. // @author SoftwareSing
  7. // @match https://r4-museum.acgn-stock.com/*
  8. // @grant none
  9. // ==/UserScript==
  10.  
  11.  
  12. function findImgUrls() {
  13. const companyData = Meteor.connection._mongo_livedata_collections.companies.find("RvFQeL7eERB84h85z").fetch();
  14. if (companyData && companyData.length > 0) {
  15. const { pictureSmall, pictureBig } = companyData[0];
  16.  
  17. return [ pictureSmall, pictureBig ];
  18. }
  19.  
  20. return [];
  21. }
  22.  
  23. function shield() {
  24. const urls = findImgUrls();
  25. urls.forEach((url) => {
  26. if (! url) {
  27. return;
  28. }
  29. const lindaImg = $(`img[src="${url}"]`);
  30. if (lindaImg.length > 0) {
  31. lindaImg[0].src = "https://i.imgur.com/N1qXujc.jpg";
  32. }
  33. })
  34. }
  35.  
  36. setTimeout(() => {
  37. shield();
  38. Template.companyListCard.onRendered(() => {
  39. shield();
  40. });
  41. Template.companyDetailTable.onRendered(() => {
  42. shield();
  43. });
  44. }, 1000);

QingJ © 2025

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