brave / brave-ios

Brave iOS Browser
https://brave.com
Mozilla Public License 2.0
1.7k stars 441 forks source link

add GPC for iOS #8556

Closed diracdeltas closed 8 months ago

diracdeltas commented 9 months ago

for parity with https://github.com/brave/brave-browser/issues/32231

anthonypkeane commented 9 months ago

@iccub Lets try get this into 1.62

hffvld commented 8 months ago

Verified on iPhone 14 using version(s):

Device/OS: iPhone 14 / iOS 17.3
Brave build: 1.62 (24.1.9.23)
BraveCore: 1.62.128 (120.0.6099.144)

STEPS:

  1. Launch Brave
  2. Three-dot menu > Settings > Brave Shields & Privacy
  3. Find Enable Global Privacy Control > Verify
  4. Close the settings and go to any website, for example, Wikipedia
  5. In Safari on the Desktop open Web Inspector > Console
  6. Paste the query navigator.globalPrivacyControl > Enter > Verify the response result
  7. Now disable Enable Global Privacy Control in Brave settings > Refresh the opened webpage
  8. In the Console paste the query navigator.globalPrivacyControl again > Enter > Verify the response result
  9. Now go to https://global-privacy-control.glitch.me/ which was used to verify the same issue on Desktop and Android
  10. Check the Client-side detection section when Enable Global Privacy Control is ON > Verify
  11. Now disable Enable Global Privacy Control > Refresh the page https://global-privacy-control.glitch.me/ > Verify

ACTUAL RESULTS:


1 2
1 2
1 2
1 2