Created
October 3, 2015 23:38
-
-
Save RyuaNerin/7547f660dec479eacd17 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
var myid = TwitterService.currentUser.id; | |
// 유저 아이디를 " 으로 감싸서 넣으면 됨 , 으로 구분 | |
var dropUser = [ "" ]; | |
Array.prototype.Contains = function(s) | |
{ | |
for (var i = 0; i < this.length; ++i ) | |
if(this[i] == s) | |
return true; | |
return false; | |
}; | |
TwitterService.addEventListener("preFilterProcessTimelineStatus", function(status) | |
{ | |
return | |
status.retweeted | |
? dropUser.Contains(status.retweeted_by) | |
: (status.in_reply_to_status_id != myid && dropUser.Contains(status.user.screen_name)); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment