Created
February 13, 2017 20:03
-
-
Save starlocke/c0d72c480f5363388e1fd7b2a200b328 to your computer and use it in GitHub Desktop.
#Twitter {Auto-Translate} {You can have this.}
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
/** | |
* 1. Install "CJS" (Custom JavaScript for Web) Extension for your | |
* https://chrome.google.com/webstore/detail/custom-javascript-for-web/poakhlngfciodnhlhhgnaaelnpjljija | |
* 2. Apply the following snippet for the host "https://twitter.com" | |
* 3. Save | |
*/ | |
var auto_translate = function(){ | |
$('button.translate-button:visible').click(); | |
}; | |
var frequency = 512; // milliseconds | |
setInterval(auto_translate,frequency); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment