黑基网 首页 电脑 网页浏览器 查看内容

谷歌浏览器怎么实现Ajax跨域访问?

2017-3-27 11:49| 投稿: lofor| 查看: 2007| 评论: 78|来自: 互联网

摘要: Ajax本身是不支持跨域的,跨域问题其实很简单,通过浏览器的相应设置可以完成两个不同的服务器或两个不同服务下的项目互相访问。希望大家给予评价及投票。1、首先谷歌快捷方式上 右击 ,在下拉列表中选择 属性 。2 ...

Ajax本身是不支持跨域的,跨域问题其实很简单,通过浏览器的相应设置可以完成两个不同的服务器或两个不同服务下的项目互相访问。希望大家给予评价及投票。

1、首先谷歌快捷方式上 右击 ,在下拉列表中选择 属性

2、打开 属性窗口 ,切换到 快捷方式选项卡 下面,默认是 常规选项卡。

3、在目标路径的后面添加【 --disable-web-security 】,格式如下: C:\Users\Administrator\AppData\Local\Google\Chrome\Application\chrome.exe --disable-web-security,其中chrome.exe与--disable之间有一个空格

4、点击 应用, 然后点击确定关闭窗口。

5、如果目标中的 路径含有双引号 ,则在双引号的外面添加。

6、关闭浏览器重新通过桌面快捷方式的形式打开浏览器,浏览器提示"您使用的是不受支持的命令行标记: --disable-web-security。稳定性和安全性会有所下降 ",说明设置成功。


鲜花

握手

雷人

路过

鸡蛋

相关阅读

发表评论

最新评论

引用 游客 2017-5-28 12:56
Enjoyed  reading through  this, very good stuff,  regards . "A man may learn wisdom even from a foe." by Aristophanes.
coach factory outlet http://www.coach-factoryoutlet.org/
引用 游客 2017-5-28 00:08
F*ckin' amazing things here. I am very glad to peer your post. Thank you so much and i am looking ahead to contact you. Will you kindly drop me a e-mail?
christian louboutin http://www.christianlouboutinoutlets.us/
引用 游客 2017-5-27 20:40
I  view  something  genuinely interesting about your  web site so I  saved to bookmarks .
ray ban sunglasses outlet http://www.raybanssunglasses.net.co/
引用 游客 2017-5-27 06:41
Some truly nice and useful information on this site, also I believe the layout contains superb features.
ecco shoes http://www.eccoshoesoutlet.us/
引用 游客 2017-5-27 04:41
Great web site. Lots of helpful info here. I'm sending it to some friends ans also sharing in delicious. And of course, thank you for your effort!
mont blanc pens outlet http://www.mont-blancpensoutlet.us.com/
引用 游客 2017-5-26 12:22
Some truly nice and utilitarian information on this web site, likewise I conceive the design and style holds wonderful features.
coach outlet http://www.coach-outletstoreonline.com.co/
引用 游客 2017-5-26 11:05
Whats up very cool blog!! Man .. Excellent .. Wonderful .. I'll bookmark your blog and take the feeds additionally厈I am|I'm} satisfied to find numerous helpful info here within the post, we need develop more techniques in this regard, thanks for sharing.
cheap ray ban sunglasses http://www.cheapray-bans.com.co/
引用 游客 2017-5-25 18:16
Some  truly   prize   blog posts on this  web site ,  saved to favorites .
ralph lauren outlet http://www.ralphlaurenoutlet-uk.org.uk/
引用 游客 2017-5-25 18:16
I've been absent for a while, but now I remember why I used to love this blog. Thanks, I will try and check back more frequently. How frequently you update your web site?
cheap mlb jerseys http://www.cheap-mlbjerseyswholesale.us.com/
引用 游客 2017-5-21 20:53
I do believe all the ideas you've offered on your post. They are really convincing and will definitely work. Nonetheless, the posts are very brief for beginners. Could you please lengthen them a bit from subsequent time? Thanks for the post.
cincinnati bengals jerseys http://cincinnatibengals.jerseyscheap.us.com/
引用 游客 2017-5-21 12:44
I simply could not depart your website before suggesting that I really enjoyed the usual info an individual provide on your visitors? Is gonna be again ceaselessly to inspect new posts.
ralph lauren outlet http://www.ralph-laurenoutletuk.org.uk/
引用 游客 2017-5-21 12:44
Only  a smiling visitor   here to share the love (:, btw  outstanding  style .
nike trainers http://www.niketrainersuk.com.co/
引用 游客 2017-5-21 08:15
Great write-up, I'm normal visitor of one's site, maintain up the nice operate, and It's going to be a regular visitor for a long time.
coach handbags http://www.coachoutletonlinecoachhandbags.us.com/
引用 游客 2017-5-20 22:16
What i do not realize is actually how you're now not really much more neatly-preferred than you may be now. You are so intelligent. You understand therefore significantly in the case of this subject, produced me in my view imagine it from numerous varied angles. Its like women and men aren't interested until it is something to accomplish with Lady gaga! Your personal stuffs outstanding. All the time handle it up!
cheap basketball shoes http://www.basketballshoes.us.org/
引用 游客 2017-5-20 22:16
You are my inspiration  , I  possess few blogs   and  rarely  run out from to post  .
kate spade handbags http://www.kate-spadehandbags.us.com/
引用 游客 2017-5-20 13:53
I like this  weblog  very much, Its a  real  nice  post  to read and get   information. "Never hold discussions with the monkey when the organ grinder is in the room." by Sir Winston Churchill.
longchamp outlet http://www.longchamps.us/
引用 游客 2017-5-20 06:24
I dugg some of you post as I  cogitated  they were  extremely helpful  extremely helpful
oakley sunglasses http://www.oakleysunglassesoutlete.us.com/
引用 游客 2017-5-20 05:44
you're in reality a good webmaster. The site loading speed is amazing. It sort of feels that you are doing any unique trick. Also, The contents are masterwork. you have done a magnificent task in this matter!
polo ralph lauren outlet http://www.polo-outlets.us.com/
引用 游客 2017-5-20 05:44
I was studying some of your blog posts on this website and I conceive this internet site is really informative! Keep on posting.
eagles jerseys http://philadelphiaeagles.jerseyscheap.us.com/
引用 游客 2017-5-19 17:13
I like this post, enjoyed this one regards for posting. "Abortion is advocated only by persons who have themselves been born." by Ronald Reagan.
cleveland browns jerseys http://clevelandbrowns.jerseyscheap.us.com/

查看全部评论(78)

返回顶部