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); | |
})(); |
Note:
You shall let the page open and the page should refresh and unlike the pages automatic
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Open this page:
https://www.facebook.com/me/allactivity/?activity_history=false&category_key=LIKEDINTERESTS&manage_mode=false&should_load_landing_page=false
using
https://chrome.google.com/webstore/detail/tampermonkey/dhdgffkkebhmkfjojejmpbldmpobfkfo
put the above code the script and run it to unlike all pages