Created
August 17, 2010 04:36
-
-
Save rummelonp/528480 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
// ==UserScript== | |
// @name Hide recommended user | |
// @namespace jp.mitukiii.twitter | |
// @description おすすめユーザーを隠すスクリプト | |
// @include http*://twitter.com/* | |
// ==/UserScript== | |
(function() { | |
var css = '\n\ | |
#recommended_users,\n\ | |
.recommended-similar-users {\n\ | |
display: none !important;\n\ | |
}\n\ | |
'; | |
if (typeof GM_addStyle != 'undefined') { | |
GM_addStyle(css); | |
} else if (typeof PRO_addStyle != 'undefined') { | |
PRO_addStyle(css); | |
} else if (typeof addStyle != 'undefined') { | |
addStyle(css); | |
} else { | |
var heads = document.getElementsByTagName('head'); | |
if (heads.length > 0) { | |
var node = document.createElement('style'); | |
node.type = 'text/css'; | |
node.appendChild(document.createTextNode(css)); | |
heads[0].appendChild(node); | |
}; | |
}; | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment