Closed ProfessorX closed 5 years ago
Thanks for opening this issue, maintainers will get back to you as soon as possible!
Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.
Cross-Origin Read Blocking (CORB) blocked cross-origin response https://www.baidu.com/error.html with MIME type text/html. See https://www.chromestatus.com/feature/5629709824032768 for more details.
我前端朋友帮我看是这个原因。
不知道如何破解。
Cross-Origin Read Blocking (CORB) is an algorithm that can identify and block dubious cross-origin resource loads in web browsers before they reach the web page. CORB reduces the risk of leaking sensitive data by keeping it further from cross-origin web pages. In most browsers, it keeps such data out of untrusted script execution contexts. In browsers with Site Isolation, it can keep such data out of untrusted renderer processes entirely, helping even against side channel attacks like Spectre.
Update:
next 换回7.2.0之后主页显示正常了。
感觉是7.4.0中间有js文件有问题。
备注:我没有切7.3.0版本,7.4.0版本网页用的stable, 7.2.0用的之前发的我页面下的theme-next.
https://github.com/ProfessorX/theme-next
GitHubContribute to ProfessorX/theme-next development by creating an account on GitHub.
这不是 NexT 的问题,尝试使用国产低 chrome 内核的浏览器检测你的 7.4.0 部署或者排查你使用的 CloudFlare 服务。
:wave: @ProfessorX, we use the issue tracker exclusively for bug reports and feature requests. However, this issue appears to be a support request. Please use our support channels to get help with the project.
我用macOS上的Chrome试了下,可以正常访问……
不太清楚报错信息为何会指向https://www.baidu.com/error.html
@stevenjoezhang
正常访问是因为我网站白板一个礼拜了,刚才实在受不了于是切了7.2.0主题的next一切正常。
How to reproduce the problem: git clone https://github.com/ProfessorX/hexo-source.git theme-next --> stable 7.4.0 hexo g hexo deploy **这个问题在本地4000端口测试不出来,显示一切正常。但是推到github之后用Chrome浏览器打开就不正常了。
Update:
next 换回7.2.0之后主页显示正常了。
感觉是7.4.0中间有js文件有问题。
GitHubContribute to ProfessorX/hexo-source development by creating an account on GitHub.
我用macOS上的Chrome试了下,可以正常访问…… 不太清楚报错信息为何会指向
https://www.baidu.com/error.html
你拉到最下面看下theme 是不是7.2.0 7.2.0 我这边内网浏览器也OK啊。
你们拉我source 源码,然后主题配 7.4.0的,再推到你们自己 github.io试试。
我是懒得再切一次7.4.0了 (划掉)
算了还是再切一次吧7.4.0
这不是 NexT 的问题,尝试使用国产低 chrome 内核的浏览器检测你的 7.4.0 部署或者排查你使用的 CloudFlare 服务。
大哥,做过实验吗?
hexo g
hexo s
··· Start processing INFO Files loaded in 1.8 s INFO Deleted: js/exturl.js INFO Deleted: js/affix.js INFO Deleted: js/scroll-cookie.js INFO Deleted: lib/velocity/velocity.ui.js INFO Deleted: js/js.cookie.js INFO Deleted: lib/jquery/index.js INFO Deleted: js/scrollspy.js INFO Deleted: lib/velocity/velocity.js INFO Deleted: js/post-details.js ···
这是切740 删除掉的一些文件。
Update again: @stevenjoezhang
我切740了。
你再用Chrome 开首页康康?
忘了Github可以直接传图了。
大家伙康康,评评理。
Version.
正常访问是因为我网站白板一个礼拜了,刚才实在受不了于是切了7.2.0主题的next一切正常。
我佛辣,您这真是迷惑行为啊,白板一个礼拜了不开Issue,开了Issue之后又切换为正常版本😂 这让大家怎么开展工作嘛。 可以加一下telegram群,交流更方便:https://t.me/theme_next_chinese
Telegram一款风格优雅的高质量 Hexo 主题
这个问题在本地4000端口测试不出来,显示一切正常。但是推到github之后用Chrome浏览器打开就不正常了。
巧了,我git clone https://github.com/ProfessorX/ProfessorX.github.io
然后http-server
也一切正常。
正常访问是因为我网站白板一个礼拜了,刚才实在受不了于是切了7.2.0主题的next一切正常。
我佛辣,您这真是迷惑行为啊,白板一个礼拜了不开Issue,开了Issue之后又切换为正常版本😂 这让大家怎么开展工作嘛。 可以加一下telegram群,交流更方便:https://t.me/theme_next_chinese
TelegramNexT – 中文群一款风格优雅的高质量 Hexo 主题
正所谓忍无可忍,无需再忍。
这个issue本地是OK的,因为我真的不懂前端所以只能发上来给大佬们解决了。
向大佬低头。
Telegram一款风格优雅的高质量 Hexo 主题
看上去就是CloudFlare的Rocket Loader造成的问题,另见https://github.com/theme-next/hexo-theme-next/issues/1147 这个bug与NexT主题无关,建议关闭此服务
Disabled the rocket loader.
Issue closed.
撒花?
有没有我全都要的方案?
有没有我全都要的方案?
似乎没有:
Rocket Loader 会将您所有JavaScript 的加载一直推迟到渲染之后再进行,从而优先处理您网站的内容(文本、图像、字体等)。
这从原理上破坏了NexT主题设计好的加载方式😢
不对啊。
为啥之前720的时候一切正常,好奇ing
因为7.4.0把jQuery换掉了,也调整了一些脚本的加载顺序
I agree and want to create new issue
确认
Expected behavior
Chrome浏览器能够正常显示首页,跟7.2.0时候一样。
Actual behavior
Chrome浏览器最新版本无法正常显示首页内容,为白板一片。
切换成Edge浏览器能够正常显示内容!
Steps to reproduce the behavior
git clone https://github.com/ProfessorX/hexo-source.git
hexo g
Hexo Information
Package dependencies Information
Hexo Version
Hexo Configuration
NexT Configuration
这个去https://github.com/ProfessorX/theme-next 看吧。我的配置在_config.yml 里面。
Other Information
Browser
Chrome 77.0.3865.75 Edge 看不到版本号 Windows 版本 10.0.18363.356