Skip to content

Instantly share code, notes, and snippets.

@dr-dimitru
Created March 13, 2019 06:33
Show Gist options
  • Save dr-dimitru/fac5671e4a44ddf34ca20a3750787c62 to your computer and use it in GitHub Desktop.
Save dr-dimitru/fac5671e4a44ddf34ca20a3750787c62 to your computer and use it in GitHub Desktop.
Follow all users on open page at Medium.com
// 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