Skip to content

Instantly share code, notes, and snippets.

@allthesignals
Created December 15, 2017 19:26
Show Gist options
  • Select an option

  • Save allthesignals/4237ce3f797fbdff7c59ffaf305dbccd to your computer and use it in GitHub Desktop.

Select an option

Save allthesignals/4237ce3f797fbdff7c59ffaf305dbccd to your computer and use it in GitHub Desktop.
Carto Script to autoset the privacy of every dataset in /datasets view to "with link" - just run in console
$('.is-private').each(node => {
$('.is-private')[node].click();
setTimeout(function() { }, 1000);
$('.is-private')[node].click();
$('.IllustrationIcon--alert').click();
setTimeout(function() { }, 1000);
$(".ok").click()
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment