]> khamidou — GitHub mirrors - electron.git/commitdiff
docs: "disablewebsecurity" attribute
authorCheng Zhao <zcbenz@gmail.com>
Thu, 18 Dec 2014 05:34:02 +0000 (21:34 -0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 18 Dec 2014 05:34:02 +0000 (21:34 -0800)
docs/api/web-view-tag.md

index bde67ed960a3f376aaf00555aebc063c7df18403..db5674355674b83901576bfa1de0fdd3fa543327 100644 (file)
@@ -112,6 +112,14 @@ after this script has done execution.
 
 Sets the referrer URL for the guest page.
 
+### disablewebsecurity
+
+```html
+<webview src="https://www.github.com/" disablewebsecurity></webview>
+```
+
+If "on", the guest page will have web security disabled.
+
 ## Methods
 
 ### `<webview>`.getUrl()