screen

try to take over the world!

  1. // ==UserScript==
  2. // @name screen
  3. // @namespace http://tampermonkey.net/
  4. // @version 0.1
  5. // @description try to take over the world!
  6. // @author You
  7. // @match https://www.douban.com/*
  8. // @require   http://cdn.bootcss.com/jquery/1.8.3/jquery.min.js
  9. // @grant none
  10. // @run-at document-start
  11.  
  12.  
  13. // ==/UserScript==
  14. var keyWordsList = [
  15. "沈阳",
  16. ];
  17. var IDList = [
  18. "少女青龙小琪琪",
  19. "__冷雨''",
  20. ];
  21. var resharedIDList = [
  22. "灯证",
  23. ];
  24. window.onload = function(){
  25. //$(".status-reshared-wrapper").empty()
  26. //$(".reshared_by + *").empty()
  27. //$(".reshared_by").empty()
  28.  
  29.  
  30. $("p").each(function(){
  31. for(var i=0;i<keyWordsList.length;i++){
  32. if($(this).text().indexOf(keyWordsList[i])>=0){
  33.  
  34. //$(this).text(" ")
  35. var o=$(this).parents('.status-wrapper')
  36. o.empty()
  37. }
  38.  
  39. }
  40. });
  41. $("a.lnk-people").each(function(){
  42. for(var i=0;i<IDList.length;i++){
  43. if($(this).text().indexOf(IDList[i])>=0){
  44.  
  45. //$(this).text(" ")
  46. var o=$(this).parents('.status-wrapper')
  47. o.empty()
  48. }
  49.  
  50. }
  51. });
  52. $("span.reshared_by > a").each(function(){
  53. for(var i=0;i<resharedIDList.length;i++){
  54. if($(this).text().indexOf(resharedIDList[i])>=0){
  55.  
  56. //$(this).text(" ")
  57. var o=$(this).parents('.status-wrapper')
  58. o.empty()
  59. }
  60.  
  61. }
  62. });
  63.  
  64.  
  65.  
  66. };

QingJ © 2025

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