Created
February 3, 2010 11:15
-
-
Save teramako/293551 to your computer and use it in GitHub Desktop.
twitterTL上のiconを消すuserScript
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 twitter disable icon | |
// @namespace http://d.hatena.ne.jp/teramako | |
// @description dont display user icon | |
// @include http://twitter.com/* | |
// ==/UserScript== | |
function insertRule(selector, declarations){ | |
var sheets = document.styleSheets; | |
var lastSheet = sheets[sheets.length-1]; | |
lastSheet.insertRule( | |
selector + " {" + declarations + "}", | |
lastSheet.cssRules.length); | |
} | |
insertRule("a.profile-pic img", "display:none;"); | |
// vim: sw=2 ts=2 et: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment