dhowe / AdNauseam

AdNauseam: Fight back against advertising surveillance
GNU General Public License v3.0
4.45k stars 187 forks source link

Launch failing on iOS/iPadOS #2377

Open cootshk opened 10 months ago

cootshk commented 10 months ago

Describe the issue

The extension can't be turned on/doesn't work correctly on iOS and iPadOS

NOTE: if you are having a problem where ads are not collected, please FIRST TRY to create a new new Firefox profile as described here. A corrupt Firefox profile is the most common cause of this issue.

Screenshot in which the issue can be seen

IMG_0018 IMG_0017

top screenshot is default settings bottom is after turning off persistent background page in manifest.json

Steps for anyone to reproduce the issue

(Please be as detailed as possible) run xcrun safari-web-extension-converter /path/to/adnauseum (optional) go into Shared (Extension) -> Resources -> manifest.json and change persistent to false connect your iPad (mine is a tenth generation iPad) to your Mac using a usb c cable change the build target to your iPad (you may need to turn on developer mode/set certificate owners/etc) press build, the app should now be on your iPad and in iOS settings (settings -> safari -> extensions)

Your settings

Your filter lists

default

Your location/country

(If the issue is website specific, knowing your approximate location will help us to reproduce it) USA ** For adult or potentially offensive sites/ads, please add a [Content-Warning] tag in the title to warn developers the ticket may contain such material.

Other

rewriting the extension using Apple's WebRequest API would fix the issue

also the ads clicked count is broken but its also broken on MacOS (built from the same project)

dhowe commented 10 months ago

reference #1761