Created
July 24, 2018 09:46
-
-
Save thomseddon/613aa4124beb99cc71c6ea39593017a1 to your computer and use it in GitHub Desktop.
Automatically change privay to friends except acquaintances (run in console on https://www.facebook.com/me/allactivity)
This file contains 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
var confirm1 = () => { document.querySelectorAll('.uiLayer:not(.hidden_elem) .uiContextualLayer li')[3].click(); } | |
var confirm2 = () => { document.querySelectorAll('.uiLayer:not(.hidden_elem) .layerConfirm')[0].click() } | |
document.querySelectorAll('a[data-tooltip-content="Your friends"]').forEach(function (e, i) { setTimeout(() => { e.click(); setTimeout(confirm1, 1000); setTimeout(confirm2, 2000); }, 3000 * i); }) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment