我使用chrome登陆sf的时候经常报错

Viewed 1913

我用chrome登陆sf的时候经常报错,拿不到css和一些js,只有html解构。

console里拿到的报错,这是怎么回事?

Failed to load resource: the server responded with a status of 405 ()
responsive.css:1 Failed to load resource: the server responded with a status of 405 ()
20190705.png:1 Failed to load resource: the server responded with a status of 405 ()
static.segmentfault.com/sponsor/20190705.js:1 Failed to load resource: the server responded with a status of 405 ()
index.min.js:1 Failed to load resource: the server responded with a status of 405 ()
ads.min.js:1 Failed to load resource: the server responded with a status of 405 ()
appQrcode.png:1 Failed to load resource: the server responded with a status of 405 ()
index.css:1 Failed to load resource: the server responded with a status of 405 ()
index.min.js:1 Failed to load resource: the server responded with a status of 405 ()
static.segmentfault.com/sponsor/20190705.js:1 Failed to load resource: the server responded with a status of 405 ()
ads.min.js:1 Failed to load resource: the server responded with a status of 405 ()
assets.js:1 Failed to load resource: the server responded with a status of 405 ()
static.segmentfault.com/sponsor/20190705.js:1 Failed to load resource: the server responded with a status of 405 ()
upload-images.jianshu.io/upload_images/2509688-4914db89b4ee5b96.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240:1 Failed to load resource: the server responded with a status of 403 ()
upload-images.jianshu.io/upload_images/15081804-257f7f05333e6962.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240:1 Failed to load resource: the server responded with a status of 403 ()
assets.js:1 Failed to load resource: the server responded with a status of 405 ()
index.min.js:1 Failed to load resource: the server responded with a status of 405 ()
ads.min.js:1 Failed to load resource: the server responded with a status of 405 ()
static.segmentfault.com/v-5cc2cd8e/global/img/favicon.ico:1 Failed to load resource: the server responded with a status of 405 ()
The resource https://pagead2.googlesyndication.com/pagead/js/r20190626/r20190131/show_ads_impl.js was preloaded using link preload but not used within a few seconds from the window's load event. Please make sure it has an appropriate `as` value and it is preloaded intentionally.
global.css:1 Failed to load resource: the server responded with a status of 405 ()
index.css:1 Failed to load resource: the server responded with a status of 405 ()
responsive.css:1 Failed to load resource: the server responded with a status of 405 ()
2 Answers

把chrome重新安装一下试试

卸载所有插件,恢复默认设置,重装都试过了。还是不行

用别的浏览器有问题吗?

其它浏览器没问题,只有chrome。连IE都没问题。。。

根据MDN上的解释,405是请求的方法错了。

你可以在network面板看看,你发起这些资源请求的方法对不对,正确的话应该是get的。

会不会是你的浏览器有什么插件还是什么?

我插件都卸载了,reset或者哪怕重新安装都不行

我还是前端小白,请求方法不是client能修改的吧。

就错误原因来看,是请求方法不对,你先在控制台的network面板看看,发出的请求是怎么样的

Related Questions