u/FrozenHanSolo

Setting up a script to Block Facebook ads and also block the advertiser's Facebook page.

For a few years now, I have been successful at stopping adverts on Facebook using the method below. It absolutely works, but it takes time to manually do this over and over again. Eventually, new ads start showing up after a few months and I am wondering if there is a more automated approach with a proper script. Perhaps tampermonkey is the answer. Either way, I would like to create a script that does the following on Facebook desktop:

  1. Find all advertisements on my Facebook feed.

  2. Right click the advertisers name.

  3. Select "Open link in new tab".

  4. Go back to the original tab.

  5. Click the three dots next to the advertisers ad.

  6. Select "Hide Ad".

  7. Select "Irrelevant".

  8. Select the option that begins with "Hide all ads from"

  9. Select "Done"

  10. Go Back to the tab with the advertiser's Facebook Page.

  11. Click on the three dots on the Facebook advertiser's page.

  12. Select "Block".

  13. Select Confirm. Select "Close".

  14. Close out the new tab.

Curious if anyone has any thoughts on this. The key is not only hiding all ads from an advertiser but also BLOCKING the advertiser after all ads have been hidden. The script has to be in this exact order to do both. In the past, I have found that the option to "hide all ads from this advertiser" only works for a short period. Blocking is the key.

reddit.com
u/FrozenHanSolo — 7 days ago