Advertisement
Guest User

Untitled

a guest
Oct 18th, 2019
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. // Bulk change in privacy settings for Strava activities
  2. // Execute in browser's console, using jQuery from Strava itself
  3.  
  4. for (var i = 0; i < $$('.quick-edit').length; i++) {
  5. $$('.quick-edit')[i].click();
  6. // Alternatively, change to 'everyone' or 'only_me'
  7. $$('tr.training-activity-row select#visibility')[i].value = 'followers_only';
  8. $$('tr.training-activity-row button[type=submit]')[i].click();
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement