chrome恐龙游戏_如何玩没有互联网的Google Chrome恐龙游戏-在线和离线

chrome恐龙游戏

Several years ago, Google added a fun little Easter egg to Chrome: if your internet went down and you tried to visit a web page, you'd see the message "Unable to connect to the Internet"  or "No internet" with a little pixilated dinosaur next to it.

几年前,Google在Chrome浏览器中添加了一个有趣的复活节彩蛋:如果您的互联网出现故障,并且您尝试访问某个网页,则会看到“无法连接到互联网”或“没有互联网”的提示在它旁边的像素化恐龙。

Many people probably just thought the dinosaur was a cute little icon to keep them company while their connection was down. But then someone pressed the space bar. And the dino started running.

许多人可能只是认为恐龙是一个可爱的小图标,可以在他们的连接中断时让他们陪伴。 但是后来有人按下空格键。 恐龙开始运行。

This little Easter egg has become a beloved game. But what if you just want to play it (careful, it's addictive) when you're online and need a break? In this article, you'll learn how to play the game when you're both off and online.

这个小小的复活节彩蛋已成为人们喜爱的游戏。 但是,如果您只是想在上网并且需要休息时玩它(小心,会上瘾)怎么办? 在本文中,您将学习在线和离线时如何玩游戏。

如何离线玩Chrome dino或Trex游戏 (How to play the Chrome dino or Trex game offline)

If your internet is down, just open Chrome. Or if you're already in Chrome, try to visit any web page. You'll see that little dinosaur next to its error message.

如果您的互联网中断,请打开Chrome。 或者,如果您已经在Chrome中,请尝试访问任何网页。 您会在错误消息旁边看到那个小恐龙。

Simply press the space bar (or up arrow) and the dino will start running. Press the up arrow to jump over the obstacles (like cacti) in your path. The longer you hold the up arrow, the higher dino will jump.

只需按空格键(或向上箭头),恐龙就会开始运行。 按向上箭头跳过路径中的障碍物(例如仙人掌)。 按住向上箭头的时间越长,恐龙将跳得越高。

If you need to duck under something, press the down arrow.

如果您需要躲在某些东西下面,请按向下箭头。

The longer you play, the faster dino runs/the ground moves. Once you crash into something, the game is over and you have to restart (your score resets, too). You can play again by hitting the space bar.

您玩的时间越长,恐龙跑/地面移动的速度就越快。 一旦您崩溃,游戏就结束了,您必须重新启动(您的得分也会重置)。 您可以按空格键再次播放。

如何在线玩Chrome dino或Trex游戏 (How to play the Chrome dino or Trex game online)

Great, you have some entertainment while waiting for your internet to come back up. But what if you want to play it while online? There are a few ways to do so.

太好了,您可以在等待互联网恢复的同时享受娱乐。 但是,如果您想在线播放该怎么办? 有几种方法可以这样做。

访问恐龙网址 (Visit the dino URL)

The simplest way to play the game online is by visiting this URL: chrome://dino/. Just access that link and voilà, there's your little dino and "no internet" message.

在线玩游戏的最简单方法是访问以下URL: chrome:// dino / 。 只需访问该链接即可,那里有您的小恐龙和“没有互联网”消息。

Once you see that message, just hit the spacebar and start jumping over cacti.

看到该消息后,只需按空格键并开始跳过仙人掌。

奖励:找到游戏的另一种方法 (Bonus: Another way to find the game)

Maybe you didn't get the dino error message when your internet was down. Or maybe you don't want to purposely turn off your wifi to play the game.

互联网中断时,也许您没有收到dino错误消息。 或者,也许您不想故意关闭wifi以玩游戏。

So, if you have internet but want to disable your connection in Chrome dev tools, hit F12 to open up dev tools.

因此,如果您有互联网,但想禁用Chrome开发人员工具中的连接,请按F12打开开发人员工具。

Click the "Network" tab at the top towards the right, and then look for the Online/Offline tab, second row down:

单击右上方顶部的“网络”标签,然后查找第二行下方的“在线/离线”标签:

Look for the little dropdown arrow, click it, and select "Offline" (instead of "Online", where it should be set if you currently have a connection).

查找小的下拉箭头,单击它,然后选择“离线”(而不是“在线”,如果您当前有连接,则应在此处设置)。

Once you've done that, if you try to visit a web page, you'll get the dinosaur! You can exit dev tools and hit the space bar, as usual, to get dino running.

完成此操作后,如果您尝试访问网页,您将获得恐龙! 您可以像往常一样退出开发工具并按空格键以使dino运行。

Now you know how to find the dino/Trex game without AND with internet connectivity. Have fun!

现在,您知道了如何在没有与AND且具有互联网连接的情况下找到dino / Trex游戏。 玩得开心!

翻译自: https://www.freecodecamp.org/news/how-to-play-the-no-internet-google-chrome-dinosaur-game-both-online-and-offline/

chrome恐龙游戏

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处:http://www.mzph.cn/news/391072.shtml

如若内容造成侵权/违法违规/事实不符,请联系多彩编程网进行投诉反馈email:809451989@qq.com,一经查实,立即删除!

相关文章

Hotpatch潜在的安全风险

屎蛋 2016/06/22 10:11author:[email protected]0x00 “Hotpatch”简介IOS App的开发者们经常会出现这类问题:当一个新版本上线后发现存在一个严重的bug,有可能因为一个逻辑问题导致支付接口存在被薅羊毛的风险,这个时候能做的只能是赶快修复…

spring中@Inject和@Autowired的区别?分别在什么条件下使用呢?

问题:spring中Inject和Autowired的区别?分别在什么条件下使用呢? 我在浏览SpringSource上的一些博客,在其他一个博客中,那个作者用了Inject,但是我觉得他用Autowired也行 下面是一部分代码: …

Objective-C语言的动态性

Objective-C具有相当多的动态特性,基本的,也是经常被提到和用到的有动态类型(Dynamic typing),动态绑定(Dynamic binding)和动态加载(Dynamic loading) 一、编译时和运行…

内存泄漏和内存溢出的区别

原文地址https://www.zhihu.com/question/40560123 简单来说,操作系统就像资源分配人员,你要使用内存的时候分给你,你用完了还给它。如果你使用了没有分配给你的内存就是内存溢出,如果你用完了没有还就是内存泄漏。会引起的问题&a…

怎么注销笔记本icloud_如何在笔记本电脑或台式机的Web浏览器中在线查看Apple iCloud照片

怎么注销笔记本icloudPicture this: you just returned from a beautiful vacation and want to show all those gorgeous photos to your family. But your phone just died. And since youre at a family dinner your laptop is nowhere to be found.想象一下:您刚…

棒棒糖 宏_棒棒糖图表

棒棒糖 宏AKA: lollipop plot又名:棒棒糖情节 WHY: a lollipop chart (LC) is a handy variation of a bar chart where the bar is replaced with a line and a dot at the end. Just like bar graphs, lollipop plots are used to make comparisons between diff…

ubuntu上如何安装tomcat

1. 在官网下载linux里面的tomcat 2. 放到DownLoads下面--把tomcat的压缩包放到DownLoads3. sudo mkdir /usr/local/tomcat/ -在usr/local/路径下新建一个tomcat的文件夹4 sudo tar zxvf tomcat。。。。tar.gz -C /usr/local/tomcat/---把解压后的tomcat放到usr/local/下的tomca…

leetcode 1734. 解码异或后的排列(位运算)

给你一个整数数组 perm ,它是前 n 个正整数的排列,且 n 是个 奇数 。 它被加密成另一个长度为 n - 1 的整数数组 encoded ,满足 encoded[i] perm[i] XOR perm[i 1] 。比方说,如果 perm [1,3,2] ,那么 encoded [2,…

ZooKeeper3.4.5-最基本API开发

2019独角兽企业重金招聘Python工程师标准>>> package cn.itcast.bigdata.zk;import java.io.IOException; import java.util.List;import org.apache.zookeeper.CreateMode; import org.apache.zookeeper.KeeperException; import org.apache.zookeeper.WatchedEven…

字符串转换整数python_将Python字符串转换为Int:如何在Python中将字符串转换为整数

字符串转换整数pythonUnlike many other programming languages out there, Python does not implicitly typecast integers (or floats) to strings when you concatenate them to strings.与现有的许多其他编程语言不同,Python在将整数连接到字符串时不会隐式地将…

理解Java里面的必检异常和非必检异常

问题:理解Java里面的必检异常和非必检异常 Joshua Bloch在"Effective Java"里面说过 在可恢复的条件下和编程错误导致的运行时错误时,使用必检异常(第二版的第52页) 让我们来看一下我对这个的正确理解吧 下面是我对…

使用vim打开文件的16进制形式,编辑和全文替换

1、先用vim打开文件的二进制形式,如果不以二进制可能会产生转换错误。 vim -b file-to-open.dat 2、用xxd把文件转换成十六进制格式 :%!xxd 现在就可以对待普通文本一样查看和编辑二进制文件了。 3、vim 单文件替换方法 :%s/old/new/gc 全文执行替换,询问是…

nlp自然语言处理_不要被NLP Research淹没

nlp自然语言处理自然语言处理 (Natural Language Processing) 到底是怎么回事? (What is going on?) NLP is the new Computer VisionNLP是新的计算机视觉 With enormous amount go textual datasets available; giants like Google, Microsoft, Facebook etc have…

opencv 随笔

装环境好累,python3.6,opencv3.4 好不容易装好了,结果 addweight的时候总是报错 The operation is neither array op array (where arrays have the same size and the same number of channels), nor array op scalar, nor scalar op array …

js打开飞行模式_什么是飞行模式? 它有什么作用?什么时候应该打开它?

js打开飞行模式If youve flown on an airplane in the last decade and you have a smart phone, youve likely had to put that phone in airplane mode before the plane takes off.如果您在过去的十年中乘坐过飞机,并且拥有一部智能手机,那么您可能必…

在Java 里面怎么比较字符串

问题:在Java 里面怎么比较字符串 到目前为止,我使用 操作符去比较字符串在我的程序里面。然而,却产生了一个bug,将这个改为了.equals()以后,就把bug修复了 是不是太辣鸡了?它什么时候应该被使用或者说是不…

中小型研发团队架构实践三要点(转自原携程架构师张辉清)

如果你正好处在中小型研发团队…… 中小型研发团队很多,而社区在中小型研发团队架构实践方面的探讨却很少。中小型研发团队特别是 50 至 200 人的研发团队,在早期的业务探索阶段,更多关注业务逻辑,快速迭代以验证商业模式&#xf…

时间序列预测 预测时间段_应用时间序列预测:美国住宅

时间序列预测 预测时间段1.简介 (1. Introduction) During these COVID19 months housing sector is rebounding rapidly after a downtime since the early months of the year. New residential house construction was down to about 1 million in April. As of July 1.5 mi…

zabbix之web监控

Web monitoring(web监控)是用来监控Web程序的,可以监控到Web程序的下载速度,返回码以及响应时间,还支持把一组连续的Web动作作为一个整体进行监控。 1.Web监控的原理 Web监控即对HTTP服务的监控,模拟用户去访问网站,对…

如何使用Webpack在HTML,CSS和JavaScript之间共享变量

Earlier this week, I read an article explaining how CSS-in-JS slows down the rendering of some React apps and how static CSS is faster. But CSS-in-JS is very popular because, among other features, you can style dynamically using JavaScript variables.本周初…