X-Git-Url: https://gitweb.stoutner.com/?p=PrivacyBrowserAndroid.git;a=blobdiff_plain;f=app%2Fsrc%2Fmain%2Fassets%2Fzh-rCN%2Fguide_javascript.html;h=dd475d0659d282bd5bac97e3e8872a4f87222ecf;hp=0cd18457d20579e507c779949ff8989e86c816ed;hb=58fe83e5f1549017b8a351f697888df8c049a3dc;hpb=02b0b4e07af55c442492bb1e295e4fd1bed52af8 diff --git a/app/src/main/assets/zh-rCN/guide_javascript.html b/app/src/main/assets/zh-rCN/guide_javascript.html index 0cd18457..dd475d06 100644 --- a/app/src/main/assets/zh-rCN/guide_javascript.html +++ b/app/src/main/assets/zh-rCN/guide_javascript.html @@ -29,35 +29,26 @@ -

JavaScript Is Powerful

+

JavaScript很强大的

-

Back in the early days of the internet, web pages were static, meaning they they contained text and images that were displayed on the screen but didn’t change or interact with the user. - Of course, only so much that is interesting can happen with static content. Several different technologies were developed to facilitate dynamic web pages. - JavaScript is one of these technologies.

+

在之前的互联网中,网页是静止的,意味着它们显示的图片和文字不会改变,使用者和网页互不影响。当然,在静态的内容里会发生一些有趣的事。一些语言让动态网页变得简单。JavaScript就是这些技术中的一种。

-

JavaScript is a programming language. Many web servers host programs written in JavaScript, which are sent to devices as part of the web page. - The device runs the JavaScript on its local processor and follows the commands of the program, which can animate images on the website, popup a menu, and do many other useful things.

+

JavaScript是一种工程语言,网页的许多服务程序是JavaScript写的,可以把这些程序发送给设备,设备在本地运行这些JavaScript程序,可以提供网页的动画,菜单,做许多有趣的事。

-

JavaScript Is Dangerous

+

JavaScript很危险

-

Of course, the concept of running arbitrary programs from a website is potentially dangerous. So there are limitations placed on JavaScript to keep it from doing things like installing viruses. - However, it turns out that these limitations are overly broad. - Below is a screenshot from webkay, which is a website that demonstrates the type of information that JavaScript can produce about a device. - Browser Leaks is another good resource.

+

当然,允许网页包含的的任意的程序存在潜在的危险,所以这是这个是让他不能做像下载病毒之类的事的。然而,事实证明这个限制过于宽泛。 + 在webkay这个网页的截图中可以看到,JavaScript可以获得设备信息的演示。Browser Leaks是另一个很好的例子。

-

For privacy purposes, the ideal would be to browse the internet with JavaScript disabled. - However, there are some websites that legitimately require JavaScript to accomplish their purposes - and others that don’t work correctly without JavaScript even though they could be programmed to do so. - Privacy Browser addresses this by making it easy to toggle JavaScript on and off. - Tapping the privacy shield will toggle it between blue or yellow - (both of which indicate that JavaScript is disabled) and red (JavaScript enabled). - Looking at the different information webkay can collect with JavaScript enabled and disabled is informative.

- -

Browsing the internet with JavaScript disabled, and only enabling it if needed, goes a long way toward protecting privacy. - In addition, JavaScript is used to load much of the annoying advertisements and extra cruft that comes along with most modern websites. - With it disabled, websites will load faster, consume less network traffic, and use less CPU power, which leads to longer battery life.

+

出于隐私的考虑,这个方法可以禁用JavaScript就靠网页。然而,有的网页合规的请求JavaScript权限来达到他们的目的,并且有的网页没有JavaScript权限不能打开。隐私浏览器通过这个来轻松切换打开和关闭JavaScript。 + 点击这个隐私盾牌会在蓝色 + 或黄色之间切换 + (都表明没打开JavaScript)而红色 (表明打开了JavaScript). + 可以在网页webkay 查看分别在打开和不打开JavaScript时能收集到的信息

+ +

在禁用JavaScript的情况下浏览互联网,并在只有需要它时打开,这对保护隐私很有作用。此外,JavaScript加载烦人的广告和额外的内容,禁用他,网页会加载的更快,使用更少的流量,和CPU,延长电池寿命。