Thread info refine

tsumanne.

  1. // ==UserScript==
  2. // @name Thread info refine
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description tsumanne.
  6. // @author eggplants
  7. // @homepage https://github.com/eggplants
  8. // @match https://tsumanne.net/*/data/*/*/*/*/
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. function x(sValue)
  13. {
  14. var aResult = new Array();
  15. var D = document;
  16. var a = D.evaluate(
  17. sValue, D, null,
  18. XPathResult.ORDERED_NODE_SNAPSHOT_TYPE, null
  19. );
  20. for (var i = 0;i < a.snapshotLength;i++)
  21. {
  22. aResult.push(a.snapshotItem(i))
  23. }
  24. return aResult
  25. };
  26.  
  27.  
  28. for(var i of x(`//*[@class="rsc"]`))
  29. {
  30. i.textContent+=":\t"
  31. }
  32. for(var i of x(`//*[@class="cnw"]`))
  33. {
  34. i.textContent=i.textContent.replace(/\)/, ")\t")
  35. i.textContent+="\t";;
  36. }
  37. for(var i of x(`//*[@class="cno"]`))
  38. {
  39. i.textContent+="\t"
  40. }
  41.  
  42. document.querySelectorAll('object[data*="ad.html"]').forEach(e=>e.remove())

QingJ © 2025

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