Mac automatically turns on chrome cross domain

Time:2021-12-29

Command line execution

open -n /Applications/Google\ Chrome. App / -- args -- Disable web security -- user data dir = / users / chensiyuan3 / documents / configure / Chrome / Chrome access control allow origin

Use the automatic operation script provided by MAC, as shown in the figure, to add an application

Mac automatically turns on chrome cross domain

Select Run shell script and drag to the right
Mac automatically turns on chrome cross domain

Mac automatically turns on chrome cross domain

Paste the script in the above command line and save the automatic operation script as app
Next time, you can directly open the app and open the cross domain browser

Recommended Today

MySQL related

Indexes Bottom structure Disadvantages of hash table index: Using hash storage requires adding all files to memory, which consumes more memory space If all queries are equivalent queries, the hash is indeed fast, but in the actual scene, more data is found, and not all queries are equivalent queries, so the hash table is not […]