您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
remove subpar game authors from eg24
当前为
// ==UserScript== // @name eg24_fixer // @namespace junkus // @version 0.2 // @description remove subpar game authors from eg24 // @match http://www.escapegames24.com/* // @copyright 2012+, You // ==/UserScript== if (document.addEventListener){ document.addEventListener("DOMContentLoaded", durf(), false); } function durf() { if(typeof unsafeWindow.jQuery == 'undefined'){ var jq = document.createElement('script'); jq.src = "//ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"; document.getElementsByTagName("head")[0].appendChild(jq); } } function eg24fix(){ if(!$.ready){ setTimeout(eg24fix,100); return; } $('.post').hide(); $('.post-body').each( function(){ var $this=$(this); if($this.text().toLowerCase().match(/(girlsgames|[0-9]escape|tomolasido|3csgames|similar rooms|picture completion|sonohigurash?i|smileclicker|yalgames|heartslink|[a-z]escapegame|pixelkobo|eightgames|sniffmouse|selfdefiant|xtragamingz|the ?escape ?games|mousecity|defygames|games ?[24]|infoweb|evillemon|gazzyboy|ena ?games|gillygames|pencilkids|yotreat|abroy|gamesnovel|yoopygames|yeahgame|mixgames1|ainars|myhiddengame|123bee|mougle|inkagames|esklavos|d(r|octor)\.?\sfou|wowescape)/g)){ $this.closest('.post').remove(); } } ); $('.post-title').each( function(){ var $this=$(this); if($this.text().toLowerCase().match(/(shadow kings|ads by google|random game|goodgame|ourworld)/g)){ $this.closest('.post').remove(); } } ); $('.post').show(); } eg24fix();