Last active
October 5, 2015 02:49
-
-
Save yuki-yano/4f4035852042639f1a54 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 DeleteTweet | |
| // @namespace dionore | |
| // @include https://twitter.com/dionore/statuses/* | |
| // @version 1 | |
| // @grant none | |
| // ==/UserScript== | |
| (function(){ | |
| setTimeout(function() { | |
| $("button:contains('削除')").each(function(){ | |
| if ($(this).text() == 'ツイートを削除') { | |
| $(this).trigger('click') | |
| } | |
| if ($(this).text() == '削除') { | |
| $(this).trigger('click') | |
| } | |
| }) | |
| }, 3000); | |
| })(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment