全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
楼主: 美国

视频更新! 对于hostloc中上来就骂人的@孙笑川专门录制的...

[复制链接]
发表于 2018-12-26 14:03:56 | 显示全部楼层
消气 网上太认真你就输了
你适合这个油猴脚本
  1. // ==UserScript==
  2. // [url=home.php?mod=space&uid=5839]@name[/url]           Discuz论坛 基于ID/标题关键词 屏蔽帖子
  3. // @namespace      lisanye
  4. // @description    根据用户名、关键词,屏蔽帖子。支持配合翻页工具(例如uAutoPagerize2)
  5. // @include        */viewthread.php*
  6. // @include        */thread*
  7. // @include        */redirect.php*
  8. // @include        */forum-redirect-tid*
  9. // @include        */forum-viewthread-tid*
  10. // @include        */forum.php?mod=viewthread*
  11. // @include        */forum.php?mod=forumdisplay*
  12. // @include        */forum-*.html
  13. // @version        20171009
  14. // @grant          none
  15. // ==/UserScript==

  16. blockAll();

  17. var mo = new MutationObserver(function(allmutations) {
  18.     blockAll();
  19. });
  20. mo.observe(document.querySelector('body'), {'childList': true,'characterData':false,'subtree': true});

  21. function blockAll() {
  22.                 var dogs = new Array("倾城翻翻");    //要屏蔽的ID,写在这行,注意英文引号
  23.                 var dogtitles = new Array("nodogtitle");                        //要屏蔽的标题关键字,写在这行,注意英文引号

  24.                 // 主题列表页 针对ID
  25.                 for (x in dogs) {
  26.                         dog = document.evaluate('//table/tbody[tr[1]/td[2]//cite/a[text()="' + dogs[x] + '"]]', document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  27.                         if (dog.snapshotLength) {
  28.                                 for (var i = 0, c = ""; i < dog.snapshotLength; i++) {
  29.                                         //dog.snapshotItem(i).innerHTML = "<tr><td class='icn'><img src='static/image/common/folder_common.gif' /></a></td><th class='common'><b>造谣一时爽,全家火葬场:被屏蔽帖子 " + c + "<font color=red></th><td class='by'><cite><font color=red>" + dogs[x] + "</font></cite></td><td class='num'></td><td class='by'></td></tr>";
  30.                                         dog.snapshotItem(i).innerHTML = "";
  31.                                 }
  32.                         }
  33.                 }

  34.                 // 内容页 针对ID
  35.                 for (x in dogs) {
  36.                         dog = document.evaluate('//table/tbody[tr[1]/td[1]//a[text()="' + dogs[x] + '"]]', document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  37.                         if (dog.snapshotLength) {
  38.                                 for (var i = 0, c = ""; i < dog.snapshotLength; i++) {
  39.                                         //c = dog.snapshotItem(i).firstChild.childNodes[3].textContent.replace(/\s*/g, "").slice(0, 2);
  40.                                         //c = (Number(c) > 9) ? c + "楼" : c;
  41.                                         //dog.snapshotItem(i).innerHTML = "<font color='#999'><center>" + c + " " + dogs[x] + "</center></font>";
  42.                                         dog.snapshotItem(i).innerHTML = "";
  43.                                 }
  44.                         }
  45.                 }

  46.                 // 主题列表页 针对标题
  47.                 for (x in dogtitles) {
  48.                         dog = document.evaluate('//table/tbody[tr[1]/th[1]/a[contains(text(),"' + dogtitles[x] + '")]]', document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  49.                         if (dog.snapshotLength) {
  50.                                 for (var i = 0, c = ""; i < dog.snapshotLength; i++) {
  51.                                         dog.snapshotItem(i).innerHTML = "";
  52.                                 }
  53.                         }
  54.                 }

  55.                 // 不明
  56.                 for (x in dogs) {
  57.                         dog = document.evaluate('//table/tbody[tr[1]/td[1]/div[1]//font[text()="' + dogs[x] + '"]]', document, null, XPathResult.UNORDERED_NODE_SNAPSHOT_TYPE, null);
  58.                         if (dog.snapshotLength) {
  59.                                 for (var i = 0, c = ""; i < dog.snapshotLength; i++) {
  60.                                         c = String(dog.snapshotItem(i).firstChild.childNodes[3].textContent.match(/\d+#/)).replace(/#/, "楼");
  61.                                         dog.snapshotItem(i).innerHTML = "<b><center>c被屏蔽帖子 " + c + " <font color=red>" + dogs[x] + "</font></center></b>";
  62.                                         //dog.snapshotItem(i).innerHTML = "";
  63.                                 }
  64.                         }
  65.                 }
  66. }
复制代码
 楼主| 发表于 2018-12-26 14:04:55 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
 楼主| 发表于 2018-12-26 14:06:59 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2018-12-26 14:08:57 | 显示全部楼层
这种拿孙狗当ID的明显就是条废物只能在网上口嗨
发表于 2018-12-26 14:11:30 来自手机 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2018-12-26 14:13:11 | 显示全部楼层
20多分钟,原谅我没耐心看,不过茶叶那个帖子,楼主没错,看不上便宜茶叶就去买自己喜欢的几千块一斤的,没人拦着
 楼主| 发表于 2018-12-26 14:14:18 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
发表于 2018-12-26 14:30:18 | 显示全部楼层
25号下单26号就喝着不错?是不是同城发货?赶快确认收货给好评
 楼主| 发表于 2018-12-26 17:08:37 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
 楼主| 发表于 2018-12-27 17:11:26 | 显示全部楼层
提示: 作者被禁止或删除 内容自动屏蔽
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2026-4-12 19:07 , Processed in 0.060250 second(s), 7 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表