当前位置:网站首页>Cross domain settings of Chrome browser -- including new and old versions
Cross domain settings of Chrome browser -- including new and old versions
2022-04-23 17:46:00 【Front end dish daydayup】
This is a long overdue article , Always in use , But I haven't had time to summarize , I'll share it with you today , Easy to operate , Follow the operation patiently .
When doing the development of front and rear end separation , For some reasons, browsers often need to be set up to support cross domain mode , and chrome The browser supports cross domain settings , But the new version chrome The browser raises the threshold of cross domain setting , The original method is no longer applicable . In fact, there are many great gods on the Internet chrome Cross domain setup tutorial , It's almost the same .
Usage habits in personal development
After downloading Google browser , I will copy two copies of the shortcut and put them on the desktop , The two are as like as two peas. , I'll rename one of them ( I am cross domain named dev), Another normal name , Then name it “dev” The browser opening mode of is used to set the number of cross domains , In this way, we will have a normal browser , A cross domain browser ~
The old version Chrome browser ( Version number 49 Previous cross domain settings )
1、 Right click on Google Explorer , Select Properties
2、 Add at the end of the target input box --disable-web-security
Be careful : here --disable-web-security There is a space in front
3. Click apply and OK to close the property page , And open chrome browser . If the browser prompts “ You are using an unsupported command tag --disable-web-security”, The configuration is successful .
New browser cross domain settings ( Version number 49 After that, cross domain settings )
1、 Create a new directory on your computer ( Anywhere ) for example C:\MyChromeDevUserData
2、 Right click on Google Explorer , Select Properties ;
3、 Add at the end of the target input box --disable-web-security --user-data-dir=C:\MyChromeDevUserData
Be careful : Two -- There are spaces in front of ~
4、 Click apply and OK to close the property page , And open chrome browser .
Open again chrome, Found to have “--disable-web-security” Related tips , explain chrome You can work across domains normally .
版权声明
本文为[Front end dish daydayup]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231741488895.html
边栏推荐
- 31. 下一个排列
- EasymodbusTCP之clientexample解析
- 102. 二叉树的层序遍历
- Halo open source project learning (II): entity classes and data tables
- PC uses wireless network card to connect to mobile phone hotspot. Why can't you surf the Internet
- Generating access keys using JSON webtoken
- 双闭环直流调速系统matlab/simulink仿真
- Compilation principle first set follow set select set prediction analysis table to judge whether the symbol string conforms to the grammar definition (with source code!!!)
- Land cover / use data product download
- Where is the configuration file of tidb server?
猜你喜欢
Gets the time range of the current week
Double pointer advanced -- leetcode title -- container with the most water
SQL optimization for advanced learning of MySQL [insert, primary key, sort, group, page, count]
超分之TDAN
In JS, t, = > Analysis of
470. Rand10() is implemented with rand7()
MySQL installation
Leak detection and vacancy filling (6)
Applet learning notes (I)
Kubernetes service discovery monitoring endpoints
随机推荐
Matlab / Simulink simulation of double closed loop DC speed regulation system
122. 买卖股票的最佳时机 II-一次遍历
vite配置proxy代理解决跨域
Error in created hook: "referenceerror:" promise "undefined“
编译原理 求first集 follow集 select集预测分析表 判断符号串是否符合文法定义(有源码!!!)
Kubernetes 服务发现 监控Endpoints
2021 Great Wall Cup WP
MySQL installation
Summary of common SQL statements
Sword finger offer 22 The penultimate node in the linked list - speed pointer
Compilation principle first set follow set select set prediction analysis table to judge whether the symbol string conforms to the grammar definition (with source code!!!)
239. Maximum value of sliding window (difficult) - one-way queue, large top heap - byte skipping high frequency problem
嵌入式系统中,FLASH中的程序代码必须搬到RAM中运行吗?
SystemVerilog(六)-变量
C1小笔记【任务训练篇二】
48. 旋转图像
Learning record of uni app dark horse yougou project (Part 2)
Add drag and drop function to El dialog
The JS timestamp of wechat applet is converted to / 1000 seconds. After six hours and one day, this Friday option calculates the time
[batch change MySQL table and corresponding codes of fields in the table]