Cross-origin in Chrome and cross-origin in chrome

Source: Internet
Author: User

Cross-origin in Chrome and cross-origin in chrome

 

To configure cross-origin for the new version of Chrome browser, you need to create a user data folder to save the browser cache, history, favorites, and other data.

 

Windows Chrome cross-Origin

 

1. Download Chrome 64-bit Green Edition, decompress it, and create a shortcut on the desktop

 

2. Right-click the shortcut, select properties, and add the following content to the target:

 

-- Disable-web-security -- user-data-dir = D: \ chrome \ UserData

 

3. Create the D: \ chrome \ UserData folder.

 

4. Exit the currently opened Chrome browser, double-click the shortcut, and start the Chrome browser. If the cross-origin prompt is displayed, the configuration is successful.

 

Mac system Chrome cross-Origin

 

1. In the shell folder on the desktop, create the/chrome. sh file and enter the following content:

 

#! /Bin/bash open-a "Google Chrome" -- args -- disable-web-security -- user-data-dir =/Users/administrator/UserDataecho start Chrome browser --- cross-origin successful!

 

2. Change the permission of the script file to 755.

 

chmod 755 chrome.sh 

 

3. Create the/Users/administrator/UserData folder.

 

4. Exit the currently opened Chrome browser and execute the script to automatically open the Chrome browser. If the cross-origin security prompt is displayed, the configuration is successful.

Related Article

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.