For those of you who want to remove all in “Advertisers and Businesses” / "Who uploaded a list with your info and advertised to it":
- Go to https://www.facebook.com/ads/preferences/?entry_product=ad_settings_screen and open the section "Advertisers you've interacted with"
- Collapse all sections but keep "Advertisers and Businesses" open
- Open Web Inspector
- Copy-paste this script to load all advertisers:
smt=setInterval(() => {let x=document.querySelector('div[shade=medium]'); x ? x.click() : clearInterval(smt), console.log('done')}, 1000)
- It will output a number. Wait for it to say “done” in the console. This may take a long time. you'll notice the scrollbar changing while it's loading all advertisers.
- Copy-paste this and press enter:
document.querySelectorAll('[data-tooltip-content="Hide all ads from this advertiser"]').forEach(el => el.click())
- Wait for advertisers to turn grey, indicating they've been removed (this may take a while as well)
That's it.
So when we use the first script from the original post in Firefox Inspector>Console it does give a number then "done" but when we try the second script or the updated one from atomicbird it just shows "undefined" and nothing happens. Would you please post an update? This has been a Godsend. Thanks!