]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/assets/es/guide_javascript.html
Update the URL in the copyright header. https://redmine.stoutner.com/issues/796
[PrivacyBrowserAndroid.git] / app / src / main / assets / es / guide_javascript.html
index 8215f7c3286b4f0e618adc435d7340ea49f8e4a4..4b1f50395b8d7b941a028d4a8fb015935967a4ed 100644 (file)
@@ -1,66 +1,61 @@
 <!--
-  Copyright 2016 Soren Stoutner <soren@stoutner.com>.
+  Copyright © 2016-2020,2022 Soren Stoutner <soren@stoutner.com>.
 
-  This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
+  Translation 2017-2018 Jose A. León.  Copyright assigned to Soren Stoutner <soren@stoutner.com>.
 
-  Privacy Browser is free software: you can redistribute it and/or modify
+  This file is part of Privacy Browser Android <https://www.stoutner.com/privacy-browser-android>.
+
+  Privacy Browser Android is free software: you can redistribute it and/or modify
   it under the terms of the GNU General Public License as published by
   the Free Software Foundation, either version 3 of the License, or
   (at your option) any later version.
 
-  Privacy Browser is distributed in the hope that it will be useful,
+  Privacy Browser Android is distributed in the hope that it will be useful,
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
   GNU General Public License for more details.
 
   You should have received a copy of the GNU General Public License
-  along with Privacy Browser.  If not, see <http://www.gnu.org/licenses/>. -->
+  along with Privacy Browser Android.  If not, see <http://www.gnu.org/licenses/>. -->
 
 <html>
-<head>
-<!-- We have to make an image into its own block to center it. -->
-<style>
-    h3 {
-        color: 0D4781;
-    }
-
-    img.center {
-        display: block;
-        margin-left: auto;
-        margin-right: auto;
-    }
-</style>
-</head>
-
-<body>
-<h3>JavaScript Is Powerful</h3>
-
-<p>Back in the early days of the internet, web pages were static, meaning they they contained text and images that 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 was one of these technologies.</p>
-
-<p>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.</p>
-
-<h3>JavaScript Is Dangerous</h3>
-<p>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 on the device.  However, it turns out that these limitations are overly broad.
-    Below is a screenshot from <a href="http://webkay.robinlinus.com">webkay</a>, which is a website that demonstrates the type of information that
-    JavaScript can produce about a device.  <a href="http://www.browserleaks.com/">Browser Leaks</a> is another good resource.</p>
-
-<p><img class="center" src="../en/images/webkay.png" height="640" width="360"></p>
-
-<p>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
-    <img src="../en/images/privacy_browser.png" height="16" width="16"> or yellow <img src="../en/images/warning.png" height="16" width="16"> (both of which indicate
-    that JavaScript is disabled) and red <img src="../en/images/javascript_enabled.png" height="16" width="16"> (JavaScript enabled) and and reload the website.
-    Looking at the different information <a href="http://webkay.robinlinus.com">webkay</a> can collect with JavaScript enabled and disabled is informative.</p>
-
-<p>Browsing the internet with JavaScript disabled, and only enabling it if needed, goes a long way to protecting user 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 only contain less annoying advertisements, instead of those that do things like cover up the text of the
-    entire web page.</p>
-</body>
+    <head>
+        <meta charset="UTF-8">
+
+        <link rel="stylesheet" href="../css/theme.css">
+
+        <!-- Setting the color scheme instructs the WebView to respect `prefers-color-scheme` @media CSS. -->
+        <meta name="color-scheme" content="light dark">
+    </head>
+
+    <body>
+        <h3><img class="header" src="../shared_images/privacy_browser.svg"> Javascript es poderoso</h3>
+
+        <p>En los principios de internet las páginas web eran estáticas, sólo contenían textos e imágenes que eran mostradas en la pantalla y no podían cambiarse o interactuar con el usuario.
+            Por supuesto, nada muy interesante puede pasar con contenido estático. Se desarrollaron diferentes tecnologías para facilitar páginas web dinámicas. Javascript es una de estas tecnologías.</p>
+
+        <p>Javascript es un lenguaje de programación. Muchos servidores web alojan programas escritos en Javascript, que son enviados a los dispositivos como parte de la página web.
+            El dispositivo ejecuta este Javascript en su procesador local y sigue los comandos del programa, el cual puede animar imágenes en dicho sitio web, abrir un menú emergente,
+            y hacer muchas otras cosas útiles.</p>
+
+
+        <h3><img class="header" src="../shared_images/javascript_enabled.svg"> Javascript es peligroso</h3>
+
+        <p>Por supuesto, el concepto de ejecutar programas arbitrarios de un sitio web es potencialmente peligroso. Es por ello que hay limitaciones en Javascript para evitar que haga cosas como instalar virus.
+            Sin embargo, resulta que estas limitaciones son demasiado amplias. Abajo tenemos una captura de pantalla de la web <a href="http://webkay.robinlinus.com">webkay</a>,
+            que es una web que muestra el tipo de información que Javascript puede producir sobre un dispositivo. <a href="http://www.browserleaks.com/">Browser Leaks</a> es otro buen recurso.</p>
+
+        <p><img class="center" src="../shared_images/webkay.png"/></p>
+
+        <p>Con fines de privacidad, lo ideal sería navegar por internet con Javascript deshabilitado.
+            Sin embargo, hay algunas páginas web que requieren legítimamente de Javascript para lograr sus propósitos,
+            y otras que no funcionan correctamente sin Javascript aunque pudieran programarse para hacerlo así. Navegador Privado aborda esto haciendo sencillo el poder activar y desactivar Javascript.
+            Tocando el escudo de privacidad alternará entre azul <img class="inline" src="../shared_images/privacy_browser.svg"/> o amarillo <img class="inline" src="../shared_images/warning.svg"/>
+            (los cuales indican que Javascript está deshabilitado) y rojo <img class="inline" src="../shared_images/javascript_enabled.svg"/> (Javascript habilitado).
+            Revisar la diferente información que webkay puede recoger con Javascript habilitado y deshabilitado es informativo.</p>
+
+        <p>Navegar por internet con Javascript desactivado, y activarlo únicamente cuando se necesite, contribuye en gran medida en la protección de la privacidad del usuario.
+            Además, JavaScript se utiliza para cargar gran parte de los anuncios molestos y el arsenal adicional que viene junto con la mayoría de las páginas web modernas.
+            Con esta opción desactivada, las páginas web se cargarán más rápido, consumirán menos tráfico de red y usarán menos energía de la CPU, lo que se traduce en una mayor duración de la batería.</p>
+    </body>
 </html>
\ No newline at end of file