Last active
February 26, 2022 01:10
-
-
Save AhmedHelalAhmed/60ceee35f886ee3af7eeb9b40463aaa7 to your computer and use it in GitHub Desktop.
fb-likes-issue
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
// ==UserScript== | |
// @name Unlike Facebook Pages | |
// @namespace http://tampermonkey.net/ | |
// @version 0.1 | |
// @description Unlike all Facebook pages | |
// @author Ahmed Helal Ahmed | |
// @match https://duckduckgo.com/?q=new+script+unlike+pages+facebook&ia=web | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=duckduckgo.com | |
// @grant none | |
// ==/UserScript== | |
(function () { | |
"use strict"; | |
setTimeout(() => { | |
document.querySelectorAll('[aria-label="Action options"]')[0].click(); | |
}, 100); | |
setTimeout(() => { | |
document.querySelectorAll('[role="menuitem"]')[0].click(); | |
}, 5000); | |
setTimeout(() => { | |
location.reload(); | |
}, 10000); | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How to use: https://www.facebook.com/Ahmed0Helal0Ahmed/posts/10215986532014934