Google Browser about Ajax Cross-domain browser settings

Source: Internet
Author: User

When we report the following error in the Google browser console, try the following methods;

Error: Image from Origin ' file://' have been blocked from loading by cross-origin Resource sharing policy:invalid Response. Origin ' null ' is therefore not allowed access.

The reason is: Google Chrome prohibits the cross-domain submission of Ajax

1. Find the desktop browser, right click on the Mouse--click "shortcut"

2. Find ' target (T) ', at the end of the input box, click the space bar to empty a grid

1> If there is a quotation mark at the end, add:--args--disable-web-security

2> if not at the end, add:--disable-web-security or--allow-file-access-from-files

Google Browser about Ajax Cross-domain browser settings

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.