Created
February 15, 2014 12:43
-
-
Save ronnywang/9018851 to your computer and use it in GitHub Desktop.
如何濾掉聊天室的操作對話
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
在 Chrome 下面 | |
在網址列手動輸入 javascript: (必需要手動輸入,因為 chrome 在複製貼上會濾掉 javascript: ) | |
然後複製貼上 | |
setInterval(function(){$('#chat_line_list li').each(function(){ var a = $(this); var t=$.trim(a.text().split(':')[1]); if (t == 'up' || t == 'down' || t == 'left' || t == 'right' || t == 'a' || t == 'b' || t == 'start') { a.hide(); }})}, 500) | |
接下來你就會發現聊天室內上下左右對話都不見了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment