AprilFilter *OLD*

Enable the "pity the" fool's day filter.

您需要先安装一个扩展,例如 篡改猴Greasemonkey暴力猴,之后才能安装此脚本。

You will need to install an extension such as Tampermonkey to install this script.

您需要先安装一个扩展,例如 篡改猴暴力猴,之后才能安装此脚本。

您需要先安装一个扩展,例如 篡改猴Userscripts ,之后才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。

您需要先安装用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

// ==UserScript==
// @name            AprilFilter *OLD*
// @namespace       skyboy@kongregate
// @author          skyboy
// @version         1.1.0
// @description     Enable the "pity the" fool's day filter.
// @include         http://www.kongregate.com/games/*/*
// @homepage        http://userscripts-mirror.org/scripts/show/73398
// ==/UserScript==
if (/^\/?games\/[^\/]+\/[^\/?]+(\?.*)?$/.test(window.location.pathname))
setTimeout(function() {
javascript:void(window.location.assign("javascript:void((function(){holodeck._extra_interpolation=true;holodeck.addIncomingMessageFilter(function(d,n){var b=d,a=$H({april:'pity the','\\\\bgreg\\\\b':'',badge:'pony',games:'BRAINZZZ',banhammer:'magic wand',retarded:'gifted',retard:'savant',gay:'merry',mod:'care bear',admin:'rainbow princess','chuck norris':'Mr. T',words:'coconuts',beer:'mana',booze:'potions',bacon:'tofu',cake:'pie',level:'one up',cookie:'pie',candy:'pie','ice cream':'pie',food:'OMNOMNOM',pickle:'flavor missile',rofl:'how droll!','your mom':'my mom','ur mom':'my mom',andrew:'leeeeeeroy jenkins',filter:'narwhal','kong\\\\b':'The Best Site EVAR',kongregate:'The Best Site EVAR',replac:'hallucinat'}),e=new RegExp('('+a.keys().join('|')+')','im');a.set('greg','Greg, all glory be His');a.set('kong','The Best Site EVAR');if(holodeck._extra_interpolation){n(b.gsub(e,function(f){return a.get(f[0].toLowerCase());}),n);}else{n(b,n);}})})())"));
}, 1250);