Skip to content

A plugin to add bulk editing to activities on Strava.com.

License

Notifications You must be signed in to change notification settings

cmaart/strava-bulk-edit

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

strava-bulk-edit

2018-12-07 Update: This no longer works with the latest updates to the Strava site.

Workaround for now

Go to: https://www.strava.com/athlete/training

Paste this in your Console in the developer tools (F12) and change 'everyone' near the bottom to the visibility you want to have for all activities. Possible values are: 'everyone', 'followers_only' and 'only_me'

(function() {

this.changeVisibility = (visibility) => {
		document.querySelectorAll('select[name="visibility"]').forEach(selectEl => {
			selectEl.value = visibility;
        });
		setTimeout(() => {
		document.querySelectorAll('td.edit-actions button[type="submit"]').forEach(saveBtnEl => {
			saveBtnEl.click();
        })}, 1000);
		setTimeout(done, 5000);
}

var done = () => {
	var nextButton = document.querySelector('button.next_page:not(.disabled)');
	if(nextButton) {
		nextButton.click();
		setTimeout(this.changeVisibility, 2000);
    }
	console.log('done')
};

this.changeVisibility('everyone');

})();

Disclaimer

This is in not affiliated with Strava, Inc. in any way. The term STRAVA and the Strava logo are the exclusive trademarks of, and are owned by, Strava Inc.

LICENSE

MIT

About

A plugin to add bulk editing to activities on Strava.com.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%