]> gitweb.stoutner.com Git - PrivacyBrowserAndroid.git/blobdiff - app/src/main/assets/en/guide_javascript.html
Updates about_licenses, adding the full text of the Apache License 2.0 and the 3...
[PrivacyBrowserAndroid.git] / app / src / main / assets / en / guide_javascript.html
index 798816749119a4a0c80cc7dd2259923a59298491..d7c3757fad2a1994993a57ff22d13473c7c9cf3d 100644 (file)
@@ -1,5 +1,5 @@
 <!--
-  Copyright 2016-2017 Soren Stoutner <soren@stoutner.com>.
+  Copyright © 2016-2017 Soren Stoutner <soren@stoutner.com>.
 
   This file is part of Privacy Browser <https://www.stoutner.com/privacy-browser>.
 
 
 <html>
     <head>
+        <meta charset="UTF-8">
+
         <!-- We have to make an image into its own block to center it. -->
         <style>
             h3 {
                 color: 0D4781;
             }
 
+            img.title {
+                vertical-align: bottom;
+                height: 32;
+                width: 32;
+            }
+
             img.center {
                 display: block;
                 margin-left: auto;
                 margin-right: auto;
+                height: 640;
+                width: 360;
             }
         </style>
     </head>
 
     <body>
-        <h3>JavaScript Is Powerful</h3>
+        <h3><img class="title" src="images/privacy_browser.png"> 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 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.
+            but didnt 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>JavaScript is a programming language. Many web servers host programs written in JavaScript, which are sent to devices as part of the web page.
             popup a menu, and do many other useful things.</p>
 
 
-        <h3>JavaScript Is Dangerous</h3>
+        <h3><img class="title" src="images/javascript_enabled.png"> 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><img class="center" src="images/webkay.png" height="640" width="360"></p>
+        <p><img class="center" src="images/webkay.png"></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&rsquo;t work correctly without JavaScript even though they could be programmed to do so.
+            JavaScript to accomplish their purposes and others that dont 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="images/privacy_browser.png" height="16" width="16"> or yellow <img src="images/warning.png" height="16" width="16"> (both of which indicate
             that JavaScript is disabled) and red <img src="images/javascript_enabled.png" height="16" width="16"> (JavaScript enabled).