Created
March 13, 2019 06:33
-
-
Save dr-dimitru/fac5671e4a44ddf34ca20a3750787c62 to your computer and use it in GitHub Desktop.
Follow all users on open page at Medium.com
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
// Better to execute this in Google Chrome | |
// 0. Go to medium.com on the page where you would like to Follow other users | |
// 1. Right click on any place of page | |
// 2. Inspect Element | |
// 3. In opened panel - choose "console" tab | |
// 4. Copy-paste code you se below and hit "Enter" key | |
(function(){ | |
var newscript = document.createElement('script'); | |
newscript.type = 'text/javascript'; | |
newscript.async = true; | |
newscript.src = 'https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js'; | |
(document.getElementsByTagName('head')[0]||document.getElementsByTagName('body')[0]).appendChild(newscript); | |
})(); | |
$('button.button--follow:not(.is-active)').each(function(){ | |
$(this).click(); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment