webkit - Disable XSS filter in Safari/WebView -


i'm developing tool xss checking, using webkit webview , macruby. works great, except safari's xss filter catches urls , refuses execute evil scripts. there way disable functionality, preferably programatically?

so after digging found solution. there's undocumented, private method called 'setxssauditorenabled' on webpreferences. in case, did view.preferences.xssauditorenabled = false make work.


Comments

Popular posts from this blog

android - Spacing between the stars of a rating bar? -

html - Instapaper-like algorithm -

c# - How to execute a particular part of code asynchronously in a class -