Is there any way to disable the Same-origin policy on Google’s Chrome browser?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Close chrome (or chromium) and restart with the
--disable-web-securityargument. I just tested this and verified that I can access the contents of an iframe with src=”http://google.com” embedded in a page served from “localhost” (tested under chromium 5 / ubuntu). For me the exact command was:Note : Kill all chrome instances before running command
The browser will warn you that “you are using an unsupported command line” when it first opens, which you can ignore.
From the chromium source:
Before Chrome 48, you could just use: