]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/assets/it/guide_javascript.html
Update the URL in the copyright header. https://redmine.stoutner.com/issues/796
[PrivacyBrowserAndroid.git] / app / src / main / assets / it / guide_javascript.html
index 3590003c11eb9bdcc8991492dfb2585e50a72a0c..5e57f6d19dd05e199ba997cff31d1a6630927351 100644 (file)
@@ -1,67 +1,64 @@
 <!--
-  Copyright 2016-2017 Soren Stoutner <soren@stoutner.com>.
+  Copyright © 2017-2020,2022 Soren Stoutner <soren@stoutner.com>.
 
-  This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
+  Translation 2017-2018 Francesco Buratti.  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>
+        <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>JavaScript Is Powerful</h3>
+        <h3><img class="header" src="../shared_images/privacy_browser.svg"/> JavaScript è potentissimo</h3>
 
-        <p>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&rsquo;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.</p>
+        <p>Tornando ai primordi di internet, le pagine web erano statiche,
+            ovvero contenevano testi e immagini che venivano visualizzati sullo schermo ma non potevano cambiare o interagire in nessun modo con l'utente.
+            Ovviamente non può succedere nulla di particolarmente interessante con solo contenuti statici. Furono quindi sviluppate diverse tecnologie per facilitare la creazione di pagine web dinamiche.
+            JavaScript è una di queste.</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>
+        <p>JavaScript è un linguaggio di programmazione. Molti siti web ospitano software scritto in JavaScript che viene inviato ai dispositivi come parte integrante della pagina web.
+            Il dispositivo esegue localmente JavaScript e segue i comandi del programma come ad esempio l'animazione di immagini del sito web, l'apertura di popup, e molte altre cose utili.</p>
 
+        <h3><img class="header" src="../shared_images/javascript_enabled.svg"/> JavaScript è pericoloso</h3>
 
-        <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. 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>Naturalmente il concetto stesso di eseguire arbitrariamente software proveniente da un sito web è potenzialmente molto pericoloso.
+            Per questo motivo in JavaScript esistono limitazioni per prevenire comportamenti indesiderati come ad esempio l'installazione di virus.
+            Ad ogni modo risulta che queste limitazioni sono abbastanza permissive.
+            Di seguito si può vedere una screenshot tratta da <a href="http://webkay.robinlinus.com">webkay</a>, un sito web che mostra quali siano le informazioni che JavaScript può carpire da un dispositivo.
+            <a href="http://www.browserleaks.com/">Browser Leaks</a> è un'altra autorevole fonte di informazioni al riguardo.</p>
 
-        <p><img class="center" src="../en/images/webkay.png" height="640" width="360"></p>
+        <img class="center" src="../shared_images/webkay.png"/>
 
-        <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&rsquo;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).
-            Looking at the different information <a href="http://webkay.robinlinus.com">webkay</a> can collect with JavaScript enabled and disabled is informative.</p>
+        <p>Per ragioni di privacy l'ideale sarebbe navigare in internet con JavaScript disabilitato.
+            Esistono però alcuni siti web che richiedono in modo legittimo JavaScript per funzionare correttamente e altri che non funzionano senza, anche se potrebbero essere progettati per farlo.
+            Privacy Browser affronta questo problema facilitando l'abilitazione e la disabilitazione di JavaScript. Toccando lo scudo della privacy esso cambierà colore da blu
+            <img class="inline" src="../shared_images/privacy_browser.svg"/> o giallo <img class="inline" src="../shared_images/warning.svg"/> (entrambi indicano che JavaScript è disabilitato) a rosso
+            <img class="inline" src="../shared_images/javascript_enabled.svg"/> (JavaScript abilitato).
+            Se si osservano le varie informazioni che <a href="http://webkay.robinlinus.com">webkay</a> può raccogliere con JavaScript abilitato o disabilitato si possono scoprire cose molto interessanti.</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 contain less annoying advertisements, instead of those that do things like cover up the text of the
-            entire web page.</p>
+        <p>Navigare su internet con JavaScript disabilitato, abilitandolo solo quando necessario, è quindi un passo molto importante per la protezione della propria privacy.
+            Inoltre JavaScript è utilizzato anche per caricare la maggior parte degli annunci pubblicitari e altra robaccia aggiuntiva presente nei moderni siti web.
+            Se Javascript viene disabilitato, i siti web saranno caricati più velocemente, riducendo così il traffico sulla rete, e l'utilizzo della CPU sarà ridotto,
+            risultando così in una maggiore durata della batteria.</p>
     </body>
 </html>
\ No newline at end of file