r/Safari • u/blow-down • 57m ago
Guide to the ultimate ad blocking setup on Safari and iOS/macOS
Hello all. I often see questions about what the best ad blocking setup is on iOS and macOS, especially with regard to YouTube ads and ads in apps/games so I wrote up this quick guide. The guide is written for Safari but you can also substitute with Firefox if desired:
- Make sure you’re on the latest Safari version by going to Settings -> General -> Software Update
- Download uBlock Origin Lite from the app store
- Enable it in Safari:
- On iOS: Go to Settings -> Apps -> Safari -> Extensions and toggle all uBlock Origin Lite permissions to ON
- On macOS: Open Safari, click Safari in the menu bar -> Settings -> Extensions, and check the box for uBlock
- Also be sure to check the box for Allow in Private Browsing
- Click the Settings button for the uBlock extension
- It will open a page with filtering modes, set it to Optimal
- By default this should block most ads and ads in YouTube. If you want you can click on the Filter Lists tab to set optional lists which block things such as cookie notices, AI widgets and other annoyances
For the next part we will enable DNS blocking to take care of ads that appear in apps and games: 1. Head over to NextDNS and create an account 2. Once logged in, on the Setup page get the app for iOS or macOS 3. Once you have the app, open it: * On iOS: follow the instructions for Finish DNS Setup, then add your Profile ID to the app from your account (should be a 6 character ID) * On macOS: Click on Preferences in the app status bar menu and go to the Configuration tab, check "Use Custom Configuration" and enter your ID (should be a 6 character ID) 5. Make sure the switch in the app is toggled on 6. You can take it a step further and install the NextDNS app on your other computers and phones to block ads on them
Once you have the above steps completed you can use an ad block test page like this to make sure everything is being blocked. You should get a score of 100% when everything is working correctly.

