[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
www/philosophy javascript-trap.zh-cn.html po/ja...
From: |
GNUN |
Subject: |
www/philosophy javascript-trap.zh-cn.html po/ja... |
Date: |
Sat, 9 Mar 2019 09:00:22 -0500 (EST) |
CVSROOT: /web/www
Module name: www
Changes by: GNUN <gnun> 19/03/09 09:00:22
Modified files:
philosophy : javascript-trap.zh-cn.html
philosophy/po : javascript-trap.zh-cn-en.html
javascript-trap.zh-cn.po
Log message:
Automatic update by GNUnited Nations.
CVSWeb URLs:
http://web.cvs.savannah.gnu.org/viewcvs/www/philosophy/javascript-trap.zh-cn.html?cvsroot=www&r1=1.10&r2=1.11
http://web.cvs.savannah.gnu.org/viewcvs/www/philosophy/po/javascript-trap.zh-cn-en.html?cvsroot=www&r1=1.9&r2=1.10
http://web.cvs.savannah.gnu.org/viewcvs/www/philosophy/po/javascript-trap.zh-cn.po?cvsroot=www&r1=1.24&r2=1.25
Patches:
Index: javascript-trap.zh-cn.html
===================================================================
RCS file: /web/www/www/philosophy/javascript-trap.zh-cn.html,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -b -r1.10 -r1.11
--- javascript-trap.zh-cn.html 23 Feb 2019 10:31:34 -0000 1.10
+++ javascript-trap.zh-cn.html 9 Mar 2019 14:00:21 -0000 1.11
@@ -1,7 +1,7 @@
<!--#set var="ENGLISH_PAGE" value="/philosophy/javascript-trap.en.html" -->
<!--#include virtual="/server/header.zh-cn.html" -->
-<!-- Parent-Version: 1.86 -->
+<!-- Parent-Version: 1.87 -->
<!-- This file is automatically generated by GNUnited Nations! -->
<title>JavaScriptçé·é±</title>
@@ -29,9 +29,12 @@
<p>JavaScriptï¼æ£å¼å称æ¯ECMAScriptï¼ä½æ¯å¾å°æ人ç¨äºï¼æ¾ç»ç¨äºä¸éè¦çç½é¡µè£
饰ï¼æ¯å¦å¯ç±ä½æ¯å¹¶ä¸éè¦ç导èªåæ¾ç¤ºåè½ãå¯ä»¥è®¤ä¸ºè¿äºåªæ¯HTMLæ
è®°è¯è¨çæ©å±ï¼èä¸æ¯çæ£ç软件ï¼è¿æ
·å°±å¯ä»¥å¿½ç¥å®çé®é¢ã</p>
<p>ä¸äºç½ç«ä»ç¶è¿æ
·ä½¿ç¨JavaScriptï¼ä½æ¯æä¸äºç½ç«ç¨å®ä½ä¸ºå®æä»»å¡ç主è¦ç¨åºãä¾å¦ï¼Google
-Docsä¼å°è¯å¨ä½
ççµèéä¸è½½å¤§çº¦500kåèçJavaScriptç¨åºï¼è¯¥ç¨åºä½¿ç¨ä¸ç§æ们称ä¹ä¸ºæ¨¡ç³èæ¬ï¼Obfuscriptï¼çç´§å¯æ
¼å¼ï¼æ²¡æ注éï¼ä¹å°æç©ºæ ¼ï¼èå
¶æ¹æ³çå称åªæä¸ä¸ªåæ¯ãä¸ä¸ªç¨åºçæºä»£ç
åºè¯¥æ¯æå©äºä¿®æ¹ç¨åºçå½¢å¼ï¼è¿ç§ç´§å¯æ ¼å¼ä¸æ¯æºä»£ç
ï¼å
¶æºä»£ç 没ææä¾ç»ç¨æ·ã</p>
+Docsä¼å°è¯å¨ä½
ççµèéä¸è½½å¤§çº¦500kåèçJavaScriptç¨åºï¼è¯¥ç¨åºä½¿ç¨ä¸ç§æ们称ä¹ä¸ºæ¨¡ç³èæ¬ï¼Obfuscriptï¼çç´§å¯æ
¼å¼ãè¿ç§æ ¼å¼å é¤äºæºä»£ç éæå©é
读ç空æ
¼å注éï¼å¹¶å°åæ¥ææä¹çæ¹æ³å称æ¿æ¢ä¸ºä»»æççå称ï¼è¿æ
·äººä»¬å°±æ æ³ç´æ¥çåºè¿äºæ¹æ³åæ¥çæä¹ã</p>
-<p>é¤äºæ¯éèªç±è½¯ä»¶ï¼è®¸å¤è¿ç§ç¨åºæ¯æ¶æ软件ï¼å
为å®ä»¬<a
+<p><a
+href="/philosophy/free-sw.html">èªç±è½¯ä»¶å®ä¹</a>çå
容å
å«çç¨æ·å¯ä»¥è®¿é®ç¨åºçæºä»£ç ãä¸ä¸ªç¨åºçæºä»£ç
åºè¯¥æ¯æå©äºä¿®æ¹ç¨åºç形弗å
æ¬æå©é
读ç空æ
¼ååè¡ã解éæ§æ³¨éåææä¹çå称ãè¿ç§ç´§å¯æ
¼å¼ä¸æ¯æºä»£ç ï¼èåªæ¯æ¯«æ ç¨å¤çæºä»£ç æ¿ä»£åï¼å
¶æºä»£ç
并没ææä¾ç»ç¨æ·ï¼å èç¨æ·æ
æ³äºè§£è¯¥ç¨åºï¼è¯¥ç¨åºæ¯éèªç±çã</p>
+
+<p>é¤äºæ¯éèªç±è½¯ä»¶ï¼è®¸å¤è¿ç§ç¨åºæ¯<em>æ¶æ软件</em>ï¼å
为å®ä»¬<a
href="http://github.com/w3c/fingerprinting-guidance/issues/8">å
æ¢ç¨æ·</a>ãæ´æ¶å£çæ¯ï¼æäºç«ç¹ä½¿ç¨æå¡æ¥è®°å½<a
href="https://freedom-to-tinker.com/2017/11/15/no-boundaries-exfiltration-of-personal-data-by-session-replay-scripts/">ç¨æ·æµè§è¯¥é¡µé¢æ¶çææè¡ä¸º</a>ã该æå¡æ¬æ¥åºè¯¥“修湔记å½ä»¥æ¹å»ç½ç«ä¸è¯¥è·å¾çä¸äºæææ°æ®ãä½æ¯ï¼å³ä½¿è¯¥åè½è½å¤å¯é
çå®æ½ï¼è¯¥æå¡çæ´ä½ç®çä¹æ¯ç»äºè¯¥ç½ç«å®ä¸åºè¯¥è·å¾ç个人æ°æ®ã</p>
@@ -47,9 +50,9 @@
<p>Javaå°ç¨åº<sup><a
href="#TransNote2">2</a></sup>ä¹ä¼å¨æµè§å¨éè¿è¡ï¼ä¹å°±æåæ
·çé®é¢ãä¸è¬æ¥è¯´ï¼åç§å°ç¨åºç³»ç»é½æè¿æ
·çé®é¢ãå建ä¸ä¸ªè¿è¡å°ç¨åºçèªç±ç¯å¢ä»
ä»
æ¯è®©æ们è½å¤çå°è¿ä¸ªé®é¢ã</p>
-<p>ç论ä¸è½å¤ä½¿ç¨HTMLåCSSç¼ç¨ï¼ä½æ¯å®é
ä¸å®ä¸æ¹ä¾¿èä¸åéå¶ï¼æå¤åªæ¯å±ç¤ºä¸äºä»¤äººæå¥çé»å®¢ç¼ç¨æå·§ãè¿äºç¨åºçåºæ¯èªç±çï¼ä¸è¿CSSå¨2016å¹´è¿ä¸æ¯å½±åç¨æ·èªç±ç严éé®é¢ã</p>
+<p>ç论ä¸è½å¤ä½¿ç¨HTMLåCSSç¼ç¨ï¼ä½æ¯å®é
ä¸å®ä¸æ¹ä¾¿èä¸åéå¶ï¼æå¤åªæ¯å±ç¤ºä¸äºä»¤äººæå¥çé»å®¢ç¼ç¨æå·§ãè¿äºç¨åºçåºæ¯èªç±çï¼ä¸è¿CSSå¨2019å¹´è¿ä¸æ¯å½±åç¨æ·èªç±ç严éé®é¢ã</p>
-<p>å·²ç»æä¸ä¸ªå¼ºå¤§çè¿å¨ï¼å®å·å¬ç½ç«åªä½¿ç¨èªç±ï¼æç人å«"å¼æ¾"ï¼çæ
¼å¼ååè®®æ¥éä¿¡ï¼å°±æ¯è¯´ï¼å®ä»¬çææ¡£åºè¯¥å
¬å¼ï¼èä¸ä»»ä½äººé½æèªç±æ¥å®ç°ãå½ç½é¡µå¸¦æç¨åºæ¶ï¼è¿ä¸ªæ
åæ¯å¿
è¦çï¼ä½æ¯å¹¶ä¸å
åãJavaScriptæ¬èº«ï¼ä½ä¸ºä¸ç§æ
¼å¼ï¼æ¯èªç±çï¼èä¸å¨ç½ç«ä¸ä½¿ç¨JavaScript并ä¸å¿
ç¶æ¯åäºãç¶èï¼æ£å¦ä»¥ä¸æçå°çï¼å®ä¹ä¸å¿
ç¶å°±æ¯å¥½äºãå½ç½ç«å°ç¨åºè½¬ç§»å°ç¨æ·ï¼ç¨åºåªæ¯ç±æææ¡£ãä¸åéå¶çè¯è¨ç¼å并ä¸è¶³å¤ï¼è¯¥ç¨åºå¿
é¡»ä¹æ¯èªç±çã“åªè®¸æèªç±è½¯ä»¶è½¬ç§»å°ç¨æ·”å¿
é¡»æ为ç½ç«è¡ä¸ºè§èçååã</p>
+<p>å·²ç»æä¸ä¸ªå¼ºå¤§çè¿å¨ï¼å®å·å¬ç½ç«åªä½¿ç¨èªç±ï¼æç人å«"å¼æ¾"ï¼çæ
¼å¼ååè®®æ¥éä¿¡ï¼å°±æ¯è¯´ï¼å®ä»¬çææ¡£åºè¯¥å
¬å¼ï¼èä¸ä»»ä½äººé½æèªç±æ¥å®ç°ãç¶èï¼å½ç½é¡µå¸¦æJavaScriptç¨åºæ¶ï¼è¿ä¸ªæ
åå°±ä¸å¤äºãJavaScriptæ¬èº«ï¼ä½ä¸ºä¸ç§æ
¼å¼ï¼æ¯èªç±çï¼èä¸å¨ç½ç«ä¸ä½¿ç¨JavaScript并ä¸å¿
ç¶æ¯åäºãç¶èï¼æ£å¦ä»¥ä¸æçå°çï¼å®ä¹ä¸å¿
ç¶å°±æ¯å¥½äº——å¦æJavaScriptç¨åºæ¯éèªç±è½¯ä»¶ãå½ç½ç«å°ç¨åºè½¬ç§»å°ç¨æ·ï¼ç¨åºåªæ¯ç±æææ¡£ãä¸åéå¶çè¯è¨ç¼å并ä¸è¶³å¤ï¼è¯¥ç¨åºå¿
é¡»ä¹æ¯èªç±çã“åªè®¸æèªç±è½¯ä»¶è½¬ç§»å°ç¨æ·”å¿
é¡»æ为ç½ç«è¡ä¸ºè§èçååã</p>
<p>ä¸å¨å£°è²å°å
è½½åè¿è¡éèªç±è½¯ä»¶åªæ¯"ç½ç»åºç¨"带æ¥ç诸å¤é®é¢ä¹ä¸ã"ç½ç»åºç¨"è¿ä¸æ¯è¯å°±æ¯ç¨æ¥æ¹æç¨æ·è½¯ä»¶åæå¡å¨è½¯ä»¶çæ
¹æ¬åºå«ãå®å¯ä»¥æè¿è¡å¨æµè§å¨éçç¹å®å®¢æ·ç«¯è½¯ä»¶ï¼å®ä¹å¯ä»¥æç¹å®çæå¡å¨è½¯ä»¶ï¼å®è¿å¯ä»¥æåç¹å®æå¡å¨è½¯ä»¶ç´§å¯åä½ç客æ·ç«¯è½¯ä»¶ã客æ·ç«¯åæå¡å¨ç«¯æä¸åçéå¾·é®é¢ï¼å³ä½¿å®ä»¬å¦æ¤ç´§å¯å°åä½ï¼ä»¥è³äºå¯ä»¥è¯´å®ä»¬æ¯ä¸ä¸ªè½¯ä»¶çä¸åé¨åãæ¬æåªè®¨è®ºå®¢æ·ç«¯è½¯ä»¶çé®é¢ãæ们ä¼åå¼è®¨è®ºæå¡å¨ç«¯ç软件ã</p>
@@ -76,7 +79,7 @@
<li>该ç¨åºæ Ajax è°ç¨ã</li>
- <li>该ç¨åºæ <b>[…]</b> è°ç¨ã</li>
+
<li>该ç¨åºä½¿ç¨å¸¦ææ¹æ¬å·å½¢å¼çå¨æ对象å±æ§è®¿é®ï¼å°±å<b><em>object</em>[<em>property</em>]</b>è¿æ
·ã</li>
<li>该ç¨åºä¿®æ¹äº DOMã</li>
@@ -183,7 +186,7 @@
<p class="unprintable"><!-- timestamp start -->
æåæ´æ°ï¼
-$Date: 2019/02/23 10:31:34 $
+$Date: 2019/03/09 14:00:21 $
<!-- timestamp end -->
</p>
Index: po/javascript-trap.zh-cn-en.html
===================================================================
RCS file: /web/www/www/philosophy/po/javascript-trap.zh-cn-en.html,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -b -r1.9 -r1.10
--- po/javascript-trap.zh-cn-en.html 23 Feb 2019 10:31:34 -0000 1.9
+++ po/javascript-trap.zh-cn-en.html 9 Mar 2019 14:00:21 -0000 1.10
@@ -1,5 +1,5 @@
<!--#include virtual="/server/header.html" -->
-<!-- Parent-Version: 1.86 -->
+<!-- Parent-Version: 1.87 -->
<title>The JavaScript Trap</title>
<!--#include virtual="/philosophy/po/javascript-trap.translist" -->
<!--#include virtual="/server/banner.html" -->
@@ -41,16 +41,26 @@
software, and disregard the issue.</p>
<p>Some sites still use JavaScript that way, but many use it for major
-programs that do large jobs. For instance, Google Docs tries to download into
-your machine a JavaScript program which measures half a megabyte, in a
-compacted form that we could call Obfuscript because it has no
-comments and hardly any whitespace, and the method names are one
-letter long. The source code of a program is the preferred form for
-modifying it; the compacted code is not source code, and the real
-source code of this program is not available to the user.</p>
+programs that do large jobs. For instance, Google Docs tries to
+install into your browser a JavaScript program which measures half a
+megabyte, in a compacted form that we could call Obfuscript. This
+compacted form is made from the source code, by deleting the extra
+spaces that make the code readable and the explanatory remarks that
+make it comprehensible, and replacing each meaningful name in the code
+with an arbitrary short name so we can't tell what it is supposed to
+mean.</p>
+
+<p>Part of the <a href="/philosophy/free-sw.html">meaning of free
+software</a> is that users have access to the program's source code
+(its plan). The source code of a program means the preferred form for
+programmers to modify—including helpful spacing, explanatory
+remarks, and meaningful names. Compacted code is a bogus, useless
+substitute for source code; the real source code of these programs is
+not available to the users, so users cannot understand it; therefore
+the programs are nonfree.</p>
-<p>In addition to being nonfree, many of these programs are malware
-because
+<p>In addition to being nonfree, many of these programs
+are <em>malware</em> because
they <a href="http://github.com/w3c/fingerprinting-guidance/issues/8">snoop
on the user</a>. Even nastier, some sites use services which record
<a
href="https://freedom-to-tinker.com/2017/11/15/no-boundaries-exfiltration-of-personal-data-by-session-replay-scripts/">all
@@ -100,20 +110,21 @@
practice this capability is limited and inconvenient; merely to make
it do something is an impressive hack. Such programs ought to be
free, but CSS is not a serious problem for users' freedom as of
-2016.</p>
+2019.</p>
<p>A strong movement has developed that calls for web sites to
communicate only through formats and protocols that are free (some say
"open"); that is to say, whose documentation is published and which
-anyone is free to implement. With the presence of programs in web
-pages, that criterion is necessary, but not sufficient. JavaScript
+anyone is free to implement. However, the presence of JavaScript programs
+in web pages makes that criterion insufficient. The JavaScript language
itself, as a format, is free, and use of JavaScript in a web site is
-not necessarily bad. However, as we've seen above, it also isn't
-necessarily OK. When the site transmits a program to the user, it is
+not necessarily bad. However, as we've seen above, it can be bad—if
+the JavaScript program is nonfree. When the site transmits a program
+to the user, it is
not enough for the program to be written in a documented and
-unencumbered language; that program must be free, too. “Only free
-programs transmitted to the user” must become part of the criterion
-for proper behavior by web sites.</p>
+unencumbered language; that program must be free, too. “Transmits only
free
+programs to the user” must become part of the criterion
+for an ethical web site.</p>
<p>Silently loading and running nonfree programs is one among several
issues raised by "web applications". The term "web
@@ -160,7 +171,8 @@
<li>it does Ajax calls.</li>
- <li>it does <b>[…]</b> calls.</li>
+ <li>it uses bracket notation for dynamic object property access,
+which looks like <b><em>object</em>[<em>property</em>]</b>.</li>
<li>it alters the DOM.</li>
@@ -284,7 +296,7 @@
<p class="unprintable">Updated:
<!-- timestamp start -->
-$Date: 2019/02/23 10:31:34 $
+$Date: 2019/03/09 14:00:21 $
<!-- timestamp end -->
</p>
</div>
Index: po/javascript-trap.zh-cn.po
===================================================================
RCS file: /web/www/www/philosophy/po/javascript-trap.zh-cn.po,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -b -r1.24 -r1.25
--- po/javascript-trap.zh-cn.po 9 Mar 2019 13:27:06 -0000 1.24
+++ po/javascript-trap.zh-cn.po 9 Mar 2019 14:00:21 -0000 1.25
@@ -14,7 +14,6 @@
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
-"X-Outdated-Since: 2019-03-08 19:56+0000\n"
#. type: Content of: <h2>
msgid "The JavaScript Trap"
@@ -327,8 +326,8 @@
"it uses bracket notation for dynamic object property access, which looks "
"like <b><em>object</em>[<em>property</em>]</b>."
msgstr ""
-"该ç¨åºä½¿ç¨å¸¦ææ¹æ¬å·å½¢å¼çå¨æ对象å±æ§è®¿é®ï¼å°±å<b><em>object</"
-"em>[<em>property</em>]</b>è¿æ ·ã"
+"该ç¨åºä½¿ç¨å¸¦ææ¹æ¬å·å½¢å¼çå¨æ对象å±æ§è®¿é®ï¼å°±å<b><em>object</em>"
+"[<em>property</em>]</b>è¿æ ·ã"
#. type: Content of: <ul><li>
msgid "it alters the DOM."
- www/philosophy javascript-trap.zh-cn.html po/ja...,
GNUN <=