Created
November 20, 2015 03:41
-
-
Save RyuaNerin/6ee4646920828f08a181 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
// By RyuaNerin | |
// https://twitter.com/@@@@@@@@/status/@@@@@@@@@@@@@@@@@@ | |
// dropIds 에, 으로 구분해서 |이부분 적으면 됨| | |
var dropIds = [ ]; | |
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 dropIds.Contains(status.retweeted ? status.retweeted_id : status.id); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment