7

I've just tried everything and I cannot seem to fix this for the life of me.

Basically, Safari has started reporting the following error in the JS console: "SecurityError: DOM Exception 18: An attempt was made to break through the security policy of the user agent." Most of Ajax interactions via https are not working, so I cannot log into Twitter, Facebook or even Apple's own Developer Center.

I've tried installing Webkit, and even removing all preferences files that I'm aware of.

Other local browsers (Firefox, Chrome, Opera...) work just fine. I'm using Safari 7.0.2 in Mavericks.

2 Answers 2

9

Fixed. After inspecting the exact JS error when accessing the twitter login page, the offending line was trying to access the browser local storage.

The "Privacy" settings in Safari had the "Block cookies and other website data" set to "Always". I've set this to "From third parties and avertisers" and now it's working again.

0
1

More Specific Instructions (same solution)

To enable third-party cookies:

  1. On your iPhone or iPad, go to Settings.
  2. Select Safari.
  3. Under Privacy & Security, select Block Cookies.
  4. You will be redirected to a list of options. Select Always Allow (Allow for Websites I visit might also fix this)
  5. You may need to restart Safari for the new settings to take effect.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .