Skip to content

devhci/FB-Ad-preference-remover

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

FB-Ad-preference-remover

Script to remove all ad preferences on facebook

How to run

  1. Log into Facebook on Google Chrome on a desktop
  2. Go to Settings - > Ads -> Ads Based on my preferences -> Manage preferences
  3. On the preferences page, expand all the categories. I was unable to automate this.
  4. Press F12 on a Windows or Cmd+Shift+I on a Mac
  5. This opens the developer console. On the top, you'll find a console tab. Click that
  6. You'll see a STOP warning from Facebook here. Ignore that, we are just automating what you'd otherwise have to do by clicking about 350 times
  7. Copy paste the code from the fbapr-min.js file into the console tab.
  8. Sit back and watch hundreds of ad categories being removed!

What it does

  1. Loads jQuery into the console
  2. Finds all "Show more" buttons and clicks them
  3. Waits a little while(15 secs) for all the categories to load
  4. Clicks the "X" button next to all the preferences

About

Script to remove all ad preferences on facebook

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published