Created
September 3, 2012 06:50
-
-
Save partynight12th/3607421 to your computer and use it in GitHub Desktop.
Chromeのソーシャルメディアポストツール「Taberareloo」の投稿先一覧の設定が一括で(全部バツにして、必要なものだけアクティブにするなど)できないので、デバッグウィンドウのconsoleに打ち込むことでそれを可能にするコード。下記コードをコンソールにいれて実行後、保存する。
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 a = document.getElementsByClassName("button"); | |
for(var i in a){ | |
if(a[i].nodeName === "DIV"){ | |
a[i].className = "button disabled"; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment