Further updates to converter
This commit is contained in:
parent
9cc132385c
commit
96dbd1a128
|
@ -2,165 +2,83 @@
|
|||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-type" content="application/xhtml+xml;charset=utf-8" />
|
||||
<title>Google Chrome — Spyware Watchdog</title>
|
||||
<link rel="stylesheet" href="../style.css" />
|
||||
<meta http-equiv="Content-type" content="application/xhtml+xml;charset=utf-8" />
|
||||
<title>Google Chrome — Spyware Watchdog</title>
|
||||
<link rel="stylesheet" href="../style.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="case">
|
||||
<div class="nav"><a href="index.html">← Catalog</a></div>
|
||||
<div class="main">
|
||||
<img src="../images/chrome_logo.png" alt="Chrome logo" />
|
||||
<h1>Google Chrome</h1>
|
||||
<center>
|
||||
<a href="../articles/chrome_es.html">[Español]</a>
|
||||
<a href="../articles/chrome_pl.html">[Polski]</a><br><br>
|
||||
</center>
|
||||
<p>
|
||||
Google Chrome is a web browser developed and distributed by <a href="../articles/google.html">Google</a>.
|
||||
</p>
|
||||
<h2>Spyware Level: <span class="red">EXTREMELY HIGH</span></h2>
|
||||
<h3>Google Chrome is not fully open source</h3>
|
||||
<p>
|
||||
Large parts of Google Chrome are open source, however not all of them are, and this prevents people from
|
||||
checking the entire software for potential spyware features that are not disclosed.
|
||||
</p>
|
||||
<h3>Google Chrome tracks the user's search history</h3>
|
||||
<p>
|
||||
Google Chrome contains several spyware features that reply on the user's search history being uploaded to Google
|
||||
servers. This is confirmed by the language in the privacy policy<sup><a href="#s1">[1]</a></sup>, clarifying the
|
||||
spyware features that rely on this.
|
||||
</p>
|
||||
<p>
|
||||
The first spyware feature is Google Chrome's integration with the "Google Account" spyware platform. <i>" If you
|
||||
are signed in to a Google site or signed in to Chrome and Google is your default search engine, searches you
|
||||
perform using the address bar in Chrome are stored in your Google account. "</i>
|
||||
</p>
|
||||
<p>
|
||||
Google Chrome also contains a spyware feature called "Search prediction service". It is explained that: <i>"When
|
||||
you search using the address bar in Chrome, the characters you type (even if you haven’t hit "enter" yet) are
|
||||
sent to your default search engine. If Google is your default search engine, predictions are based on your own
|
||||
search history, topics related to what you’re typing and what other people are searching for."</i>
|
||||
</p>
|
||||
<p>
|
||||
There is also the spyware feature "Navigation Assistance" which states that: <i>"When you can’t connect to a web
|
||||
page, you can get suggestions for alternative pages similar to the one you're trying to reach. In order to
|
||||
offer you suggestions, Chrome sends Google the URL of the page you're trying to reach. "</i>
|
||||
</p>
|
||||
<h3>Google Chrome profiles your computer usage</h3>
|
||||
<p>
|
||||
In the privacy policy<sup><a href="#s1">[1]</a></sup>, Google details the extreme spyware feature it labels
|
||||
"Usage Statistics and Crash Reports". What it does, is it sends very detailed information about your hardware
|
||||
and computer usage, which confirms that it definitely contains the following spyware features: </p>
|
||||
<ul>
|
||||
<li>A tracker that records mouse input over time</li>
|
||||
<li>A tracker that profiles memory usage</li>
|
||||
</ul>
|
||||
<p>
|
||||
But, it can also be extrapolated from the vague language that Chrome could and probably does monitor what other
|
||||
programs you have open. Either way, it is an extreme amount of information being collected, since it can be used
|
||||
to recreate what the user is doing on their desktop at all times. Chrome clarifies that this information is
|
||||
being sent whenever a website is being "slow" or whenever Google Chrome crashes.
|
||||
</p>
|
||||
<h3>Google Chrome is integrated with Google Payments</h3>
|
||||
<p>
|
||||
Google Payments is a spyware service that records your banking information and sends it to Google.<sup><a
|
||||
href="#s2">[2]</a></sup> This service is integrated into the Google Chrome browser, which makes it another
|
||||
opt-in spyware feature in the software.
|
||||
</p>
|
||||
<h3>Google Chrome contains a keylogger</h3>
|
||||
<p>
|
||||
This was confirmed in multiple places<sup><a href="#s3">[3]</a></sup><sup><a href="#s4">[4]</a></sup>. Basically,
|
||||
whenever you type into the search bar, that information is sent to Google. You can apparently turn it off by
|
||||
opting out of the "suggestion service".
|
||||
</p>
|
||||
<h3>Google Chrome records your voice</h3>
|
||||
<p>
|
||||
Google Chrome is confirmed to be constantly listening to any open microphones on your computer. This can be
|
||||
found in this statement<sup><a href="#s5">[5]</a></sup> in a privacy publication. <i>"Voice & audio
|
||||
information may be collected. For example, if your child uses audio activation commands (e.g., "OK, Google" or
|
||||
touching the microphone icon), a recording of the following speech/audio, <b> plus a few seconds before, </b>
|
||||
will be stored to their account…"</i> This feature is opt-in if you are using the "Google Accounts" spyware
|
||||
platform and specifically tell Google to build a profile of your child. It's unverified whether or not Google
|
||||
uploads information it listens too to its servers outside of this feature.
|
||||
</p>
|
||||
<h3>Google Chrome saves user passwords on Google Servers</h3>
|
||||
<p>
|
||||
Any password stored in Google Chrome's "password management" feature is uploaded to Google if you sign into the
|
||||
"Google Accounts" spyware platform.
|
||||
</p>
|
||||
<h3>Google Chrome profiles users in other various ways</h3>
|
||||
<p>
|
||||
According to the privacy policy<sup><a href="#s1">[1]</a></sup>, Google Chrome profiles what kinds of web forms
|
||||
you fill out, as well as what kind of language the content you consume is primarily in. Google Chrome also
|
||||
creates a unique identifier for each install you do. This unique identifier is sent to Google whenever you start
|
||||
the browser, so that Google can create a consistent user identity for you, undermining anonymity. Google also
|
||||
stores all of your settings on it's official servers when using the "Google Accounts" feature.
|
||||
</p>
|
||||
<h3>Google Chrome is self-updating software</h3>
|
||||
<p>
|
||||
Google Chrome has an updater which is constantly running in the background and syncing with Google servers to
|
||||
check for updates. The updater will download and run unverified binaries from Google when it updates Google
|
||||
Chrome. It is impossible for an automatic updater service such as this to verify that the updates are not
|
||||
spyware and/or do not contain additional spyware features.
|
||||
</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="footer">
|
||||
<div class="futher">
|
||||
<h4>Further Reading:</h4>
|
||||
<ol>
|
||||
<a href="https://stallman.org/google.html">Reasons not to use Google</a>
|
||||
<a href="https://web.archive.org/web/20180512214729/http://stallman.org/google.html">[web.archive.org]</a>
|
||||
<a href="http://archive.is/20170929072403/https://stallman.org/google.html">[archive.is]</a>
|
||||
<br />
|
||||
<br />
|
||||
<a href="https://8ch.net/tech/chrome.html">Welcome to the Botnet. Or, The Case Against Google Chrome</a>
|
||||
<a href="https://web.archive.org/web/20150501010435/https://8ch.net/tech/chrome.html">[web.archive.org]</a> <a href="http://archive.is/OR4dz">[archive.is]</a>
|
||||
</ol>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="sources">
|
||||
<h4>Sources:</h4>
|
||||
<ol>
|
||||
<li id="s1">
|
||||
<a href="https://www.google.com/chrome/browser/privacy/index.html">Google Chrome Privacy Notice</a>
|
||||
<a href="http://web.archive.org/web/20180427041202/https://www.google.com/chrome/browser/privacy/index.html">[web.archive.org]</a>
|
||||
<a href="https://archive.is/GJIKw">[archive.is]</a>
|
||||
<a href="https://ghostarchive.org/archive/yCsDg?kreymer=false">[ghostarchive.org]</a>
|
||||
</li>
|
||||
<li id="s2">
|
||||
<a href="https://payments.google.com/payments/apis-secure/get_legal_document?ldo=0&ldt=privacynotice">Google Payments Privacy Notice</a>
|
||||
<a href="https://web.archive.org/web/20180514095832/https://payments.google.com/payments/apis-secure/get_legal_document?ldo=0&ldt=privacynotice">[web.archive.org]</a>
|
||||
<a href="https://ghostarchive.org/archive/npMRW?kreymer=false">[ghostarchive.org]</a>
|
||||
<li id="s3">
|
||||
<a href="http://www.favbrowser.com/google-chrome-spyware-confirmed/">Google Chrome – Spyware? Confirmed?</a>
|
||||
<a href="https://web.archive.org/web/20180410043922/http://www.favbrowser.com/google-chrome-spyware-confirmed/">[web.archive.org]</a>
|
||||
<a href="https://archive.li/jxCPf">[archive.li]</a>
|
||||
<a href="https://ghostarchive.org/archive/2ybxT">[ghostarchive.org]</a>
|
||||
</li>
|
||||
<li id="s4">
|
||||
<a href="https://jischinger.wordpress.com/2008/11/16/google-chrome-a-keylogger-privacy-concerns/">Google Chrome a Keylogger – Privacy Concerns</a>
|
||||
<a href="https://web.archive.org/web/20180410043922/https://jischinger.wordpress.com/2008/11/16/google-chrome-a-keylogger-privacy-concerns/">[web.archive.org]</a>
|
||||
<a href="https://archive.li/HclxK">[archive.li]</a>
|
||||
<a href="https://ghostarchive.org/archive/RhY9b">[ghostarchive.org]</a>
|
||||
</li>
|
||||
<li id="s5">
|
||||
<a href="https://families.google.com/familylink/privacy/child-policy/">Privacy Notice for Google Accounts Managed with Family Link (“Privacy Notice”)</a>
|
||||
<a href="https://web.archive.org/web/20180524142231/https://families.google.com/familylink/privacy/child-policy/">[web.archive.org]</a>
|
||||
<a href="https://archive.li/3ncnz">[archive.li]</a>
|
||||
<a href="https://ghostarchive.org/archive/DSx9S?kreymer=false">[ghostarchive.org]</a>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<hr>
|
||||
<b>This article was last edited on 08/17/2021</b>
|
||||
<p>If you want to edit this article, or contribute your own article(s), visit us at the git repo on <a href="https://codeberg.org/shadow/SpywareWatchdog">Codeberg</a>.</p>
|
||||
<p>All contributions must be licensed under the CC0 license to be accepted.</p>
|
||||
<a href="../LICENSE.txt"><img class="icon" src="../images/cc0.png" alt="CC0 License" /></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="case">
|
||||
<div class="nav">
|
||||
<a href="index.html">← Catalog</a>
|
||||
</div>
|
||||
|
||||
<div class="main">
|
||||
<img src="../images/chrome_logo.png" alt="Google Chrome's Logo" />
|
||||
<h1>Google Chrome</h1>
|
||||
<p>Google Chrome is a web browser developed and distributed by <a href="https://spyware.neocities.org/articles/google.html">Google</a>.</p>
|
||||
<h2>Spyware Level: <a href="spywareLevels.html#8">8</a></h2>
|
||||
<h2>Google Chrome is not fully open source</h2>
|
||||
<p>Large parts of Google Chrome are open source, however not all of them are, and this prevents people from checking the entire software for potential spyware features that are not disclosed.</p>
|
||||
<h2>Google Chrome tracks the user's search history</h2>
|
||||
<p>Google Chrome contains several spyware features that reply on the user's search history being uploaded to Google servers. This is confirmed by the language in the privacy policy<sup><a href="#source1">[1]</a></sup>, clarifying the spyware features that rely on this.</p>
|
||||
<p>The first spyware feature is Google Chrome's integration with the "Google Account" spyware platform. <em>"If you are signed in to a Google site or signed in to Chrome and Google is your default search engine, searches you perform using the address bar in Chrome are stored in your Google account."</em></p>
|
||||
<p>Google Chrome also contains a spyware feature called "Search prediction service". It is explained that:
|
||||
<em>"When you search using the address bar in Chrome, the characters you type (even if you haven’t hit "enter" yet) are sent to your default search engine. If Google is your default search engine, predictions are based on your own search history, topics related to what you’re typing and what other people are searching for."</em></p>
|
||||
<p>There is also the spyware feature "Navigation Assistance" which states that: <em>"When you can’t connect to a web page, you can get suggestions for alternative pages similar to the one you're trying to reach. In order to offer you suggestions, Chrome sends Google the URL of the page you're trying to reach. "</em></p>
|
||||
<h2>Google Chrome profiles your computer usage</h2>
|
||||
<p>In the privacy policy<sup><a href="#source1">[1]</a></sup>, Google details the extreme spyware feature it labels "Usage Statistics and Crash Reports". What it does, is it sends very detailed information about your hardware and computer usage, which confirms that it definitely contains the following spyware features:</p>
|
||||
<ul>
|
||||
<li>A tracker that records mouse input over time</li>
|
||||
<li>A tracker that profiles memory usage</li>
|
||||
</ul>
|
||||
<p>But, it can also be extrapolated from the vague language that Chrome could and probably does monitor what other programs you have open. Either way, it is an extreme amount of information being collected, since it can be used to recreate what the user is doing on their desktop at all times. Chrome clarifies that this information is being sent whenever a website is being "slow" or whenever Google Chrome crashes.</p>
|
||||
<h2>Google Chrome is integrated with Google Payments</h2>
|
||||
<p>Google Payments is a spyware service that records your banking information and sends it to Google.<sup><a href="#source2">[2]</a></sup> This service is integrated into the Google Chrome browser, which makes it another opt-in spyware feature in the software.</p>
|
||||
<h2>Google Chrome contains a keylogger</h2>
|
||||
<p>This was confirmed in multiple places<sup><a href="#source3">[3]</a></sup><sup><a href="#source4">[4]</a></sup>. Basically, whenever you type into the search bar, that information is sent to Google. You can apparently turn it off by opting out of the "suggestion service".</p>
|
||||
<h2>Google Chrome records your voice</h2>
|
||||
<p>Google Chrome is confirmed to be constantly listening to any open microphones on your computer. This can be found in this statement<sup><a href="#source5">[5]</a></sup> in a privacy publication. <em>"Voice & audio information may be collected. For example, if your child uses audio activation commands (e.g., "OK, Google" or touching the microphone icon), a recording of the following speech/audio, </em><em>plus a few seconds before</em><em>, will be stored to their account…"</em> This feature is opt-in if you are using the "Google Accounts" spyware platform and specifically tell Google to build a profile of your child. It's unverified whether or not Google uploads information it listens too to its servers outside of this feature.</p>
|
||||
<h2>Google Chrome saves user passwords on Google Servers</h2>
|
||||
<p>Any password stored in Google Chrome's "password management" feature is uploaded to Google if you sign into the "Google Accounts" spyware platform.</p>
|
||||
<h2>Google Chrome profiles users in other various ways</h2>
|
||||
<p>According to the privacy policy<sup><a href="#source1">[1]</a></sup>, Google Chrome profiles what kinds of web forms you fill out, as well as what kind of language the content you consume is primarily in. Google Chrome also creates a unique identifier for each install you do. This unique identifier is sent to Google whenever you start the browser, so that Google can create a consistent user identity for you, undermining anonymity. Google also stores all of your settings on it's official servers when using the "Google Accounts" feature.</p>
|
||||
<h2>Google Chrome is self-updating software</h2>
|
||||
<p>Google Chrome has an updater which is constantly running in the background and syncing with Google servers to check for updates. The updater will download and run unverified binaries from Google when it updates Google Chrome. It is impossible for an automatic updater service such as this to verify that the updates are not spyware and/or do not contain additional spyware features.</p>
|
||||
</div>
|
||||
|
||||
<div class="further">
|
||||
<hr/>
|
||||
<h4>Further Reading:</h4>
|
||||
<ul>
|
||||
<li><a href="https://stallman.org/google.html">Reasons to not use google</a> <a href="https://web.archive.org/web/20180512214729/http://stallman.org/google.html">[web.archive.org]</a> <a href="http://archive.is/20170929072403/https://stallman.org/google.html">[archive.is]</a></li>
|
||||
<li><a href="https://8ch.net/tech/chrome.html">Welcome to the Botnet. Or, The Case Against Google Chrome</a> <a href="https://web.archive.org/web/20150501010435/https://8ch.net/tech/chrome.html">[web.archive.org]</a> <a href="http://archive.is/OR4dz">[archive.is]</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="sources">
|
||||
<hr/>
|
||||
<h4>Sources:</h4>
|
||||
<ol>
|
||||
<li id="source1"><p><a href="https://www.google.com/chrome/browser/privacy/index.html">Google Chrome Privacy Notice</a> <a href="http://web.archive.org/web/20180427041202/https://www.google.com/chrome/browser/privacy/index.html">[web.archive.org]</a> <a href="https://archive.is/GJIKw">[archive.is]</a></p></li>
|
||||
<li id="source2"><p><a href="https://payments.google.com/payments/apis-secure/get_legal_document?ldo=0&ldt=privacynotice">Google Payments Privacy Notice</a> <a href="https://web.archive.org/web/20180514095832/https://payments.google.com/payments/apis-secure/get_legal_document?ldo=0&ldt=privacynotice">[web.archive.org]</a></p></li>
|
||||
<li id="source3"><p><a href="http://www.favbrowser.com/google-chrome-spyware-confirmed/">Google Chrome – Spyware? Confirmed?</a> <a href="https://web.archive.org/web/20180410043922/http://www.favbrowser.com/google-chrome-spyware-confirmed/">[web.archive.org]</a> <a href="https://archive.li/jxCPf">[archive.li]</a></p></li>
|
||||
<li id="source4"><p><a href="https://jischinger.wordpress.com/2008/11/16/google-chrome-a-keylogger-privacy-concerns/">Google Chrome a Keylogger – Privacy Concerns</a> <a href="https://web.archive.org/web/20180410043922/https://jischinger.wordpress.com/2008/11/16/google-chrome-a-keylogger-privacy-concerns/">[web.archive.org]</a> <a href="https://archive.li/HclxK">[archive.li]</a></p></li>
|
||||
<li id="source5"><p><a href="https://families.google.com/familylink/privacy/child-policy/">Privacy Notice for Google Accounts Managed with Family Link (“Privacy Notice”)</a> <a href="https://web.archive.org/web/20180524142231/https://families.google.com/familylink/privacy/child-policy/">[web.archive.org]</a> <a href="https://archive.li/3ncnz">[archive.li]</a></p></li>
|
||||
</ol>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<hr/>
|
||||
<b>This article was created on 0000.00.00</b><br/>
|
||||
<b>This article was last modified on 2018.12.12</b><br/>
|
||||
<b>This article is for version 1337 of Google Chrome</b><br/>
|
||||
<hr/>
|
||||
<p>If you want to edit this article, or contribute your own article(s), visit us at the git repo on <a href="https://codeberg.org/shadow/SpywareWatchdog">Codeberg</a>.</p>
|
||||
<p>All contributions must be licensed under the CC0 license to be accepted.</p>
|
||||
<a href="../LICENSE.txt"><img class="icon" src="../images/cc0.png" alt="CC0 License" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
|
@ -1,115 +1,112 @@
|
|||
<!-- NOTICE!!!! -->
|
||||
|
||||
<!-- BEFORE MAKING A PULL REQUEST OR PUSH PLEASE ALWAYS CHECK WITH THE VALIDATOR -->
|
||||
<!-- http://validator.w3.org/#validate-by-input -->
|
||||
|
||||
<!-- NOTICE!!!! -->
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-type" content="application/xhtml+xml;charset=utf-8" />
|
||||
<title>[Program/Service Name Here] — Spyware Watchdog</title>
|
||||
<link rel="stylesheet" href="../style.css" />
|
||||
<meta http-equiv="Content-type" content="application/xhtml+xml;charset=utf-8" />
|
||||
<title>Example — Spyware Watchdog</title>
|
||||
<link rel="stylesheet" href="../style.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="case">
|
||||
<div class="nav"><a href="index.html">← Catalog</a></div>
|
||||
<div class="main">
|
||||
<img src="../images/example_logo.png" alt="Images are in the ../images folder" />
|
||||
<h1>[Program/Service Name Here]</h1>
|
||||
<p>
|
||||
This part of the article should have the name of the program and what
|
||||
it does, and who develops it.
|
||||
</p>
|
||||
<h2>Spyware Level: <span class="green">Not Rated</span></h2>
|
||||
<h2>Spyware Feature X</h2>
|
||||
<p>
|
||||
Proof goes here<sup><a href="#s1">[1]</a></sup>.
|
||||
</p>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="footer">
|
||||
<div class="futher">
|
||||
<h4>Further Reading:</h4>
|
||||
<ol>
|
||||
<li><a href="">Source</a>
|
||||
<a href="">[web.archive.org]</a>
|
||||
<a href="">[archive.is]</a>
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
<hr />
|
||||
<div class="sources">
|
||||
<h4>Sources:</h4>
|
||||
<ol>
|
||||
<li id="s1">
|
||||
<a href="">Source1</a>
|
||||
<a href="">[web.archive.org]</a>
|
||||
<a href="">[archive.is]</a>
|
||||
</li>
|
||||
<li id="s2">
|
||||
<a href="">Source2</a>
|
||||
<a href="">[web.archive.org]</a>
|
||||
<a href="">[archive.is]</a></li>
|
||||
</ol>
|
||||
<div class="case">
|
||||
<div class="nav">
|
||||
<a href="index.html">← Catalog</a>
|
||||
</div>
|
||||
|
||||
<div class="main">
|
||||
<img src="../images/example_logo.png" alt="Example's Logo" />
|
||||
<h1>Example</h1>
|
||||
<p>This is a example article for the markdown format. The markdown format uses <a href="https://daringfireball.net/projects/markdown/syntax">daringfireball's Markdown Syntax</a> with some modifications.
|
||||
This article is not to teach you how to use markdown, it just shows you how they look in spyware watchdog and let you know of any special requirements etc.</p>
|
||||
<h2>Spyware Level: <a href="spywareLevels.html#0">0</a></h2>
|
||||
<hr />
|
||||
<h2>Source reference (CUSTOM)</h2>
|
||||
<p>This will link to source 1<sup><a href="#source1">[1]</a></sup><br />
|
||||
This will link to source 2<sup><a href="#source2">[2]</a></sup></p>
|
||||
<hr />
|
||||
<h2>Headers</h2>
|
||||
<p>Below are all usable header types, Header 1 is reserved for article sections and will cause issues if used.</p>
|
||||
<h2>Header 2</h2>
|
||||
<h3>Header 3</h3>
|
||||
<h4>Header 4</h4>
|
||||
<h5>Header 5</h5>
|
||||
<h6>Header 6</h6>
|
||||
<hr />
|
||||
<h2>Blockquote</h2>
|
||||
<blockquote>
|
||||
<p>This is a blockquote, it does blockquote stuff.
|
||||
It does not like Spyware Watchdog does not
|
||||
have any special blockquote css.</p>
|
||||
</blockquote>
|
||||
<hr />
|
||||
<h2>Lists</h2>
|
||||
<ul>
|
||||
<li>Element 1</li>
|
||||
<li>Element 2</li>
|
||||
<li>Element 3</li>
|
||||
</ul>
|
||||
<h2>Numbered Lists</h2>
|
||||
<ol>
|
||||
<li>Element 1</li>
|
||||
<li>Element 2</li>
|
||||
<li>Element 3</li>
|
||||
</ol>
|
||||
<hr />
|
||||
<h2>Codeblock</h2>
|
||||
<pre><code>This is a codeblock.
|
||||
Turns out Spyware Watchdog actually supports codeblocks.
|
||||
(Unlike Blockquotes)
|
||||
</code></pre>
|
||||
<hr />
|
||||
<h2>Horiziontal Rule</h2>
|
||||
<p>You have seen this alot in this article thus far, while they can be used without spaces adding spaces avoids them acting as a Header.</p>
|
||||
<hr />
|
||||
<hr />
|
||||
<h2>Links</h2>
|
||||
<p><a href="http://example.com/" title="Title">Click Me</a></p>
|
||||
<hr />
|
||||
<h2>Emphasis</h2>
|
||||
<p><em>Italics</em>
|
||||
<strong>Bold</strong></p>
|
||||
<hr />
|
||||
<h2>Code</h2>
|
||||
<p>Apparently <code>Codeblocks</code> was not enough so they also needed <code>Code</code>.</p>
|
||||
<hr />
|
||||
<h2>Images</h2>
|
||||
<p><img alt="Image" src="../images/example_logo.png" /></p>
|
||||
<hr />
|
||||
<h2>HTML</h2>
|
||||
<p>Html tags should still be fully supported.</p>
|
||||
<p><button style="background-color: #FF0000; transform: rotate(30deg);" onclick="alert('Javascript bad.')">OOh look a shiny button</button></p>
|
||||
</div>
|
||||
|
||||
<div class="further">
|
||||
<hr/>
|
||||
<h4>Further Reading:</h4>
|
||||
<ul>
|
||||
<li><a href="https://www.markdowntutorial.com/">Markdown Tutorial</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
<hr/>
|
||||
|
||||
<div class="sources">
|
||||
<h4>Sources:</h4>
|
||||
<ol>
|
||||
<li id="s1">
|
||||
<a href="">Source1</a>
|
||||
<a href="">[web.archive.org]</a>
|
||||
<a href="">[archive.is]</a>
|
||||
<a href="">[ghostarchive.org]</a>
|
||||
</li>
|
||||
<li id="s2">
|
||||
<a href="">Source2</a>
|
||||
<a href="">[web.archive.org]</a>
|
||||
<a href="">[archive.is]</a>
|
||||
<a href="">[ghostarchive.org]</a>
|
||||
</li>
|
||||
</ol>
|
||||
<hr/>
|
||||
<h4>Sources:</h4>
|
||||
<ol>
|
||||
<li id="source1"><p><a href="https://daringfireball.net/projects/markdown/syntax">Daring Fireball: Markdown Syntax Documentation</a></p></li>
|
||||
<li id="source2"><p><a href="https://neocities.org/">Neocities</a></p></li>
|
||||
</ol>
|
||||
</div>
|
||||
<hr/>
|
||||
<b>This article was created on mm/dd/yyyy</b><br/>
|
||||
<b>This article was last edited on mm/dd/yyyy</b>
|
||||
<!--Dont change-->
|
||||
<p>
|
||||
If you want to edit this article, or contribute your own article(s), visit us
|
||||
at the git repo on
|
||||
<a href="https://codeberg.org/shadow/SpywareWatchdog">Codeberg</a>.
|
||||
</p>
|
||||
<p>
|
||||
All contributions must be licensed under the CC0 license to be
|
||||
accepted.
|
||||
</p>
|
||||
<a href="../LICENSE.txt">
|
||||
<img class="icon" src="../images/cc0.png" alt="CC0 License"/>
|
||||
</a>
|
||||
<!--Dont change-->
|
||||
</div>
|
||||
<hr />
|
||||
<b>This article was created on mm/dd/yyyy</b><br />
|
||||
<b>This article was last edited on mm/dd/yyyy</b>
|
||||
<!--Dont change-->
|
||||
<p>
|
||||
If you want to edit this article, or contribute your own article(s), visit us
|
||||
at the git repo on
|
||||
<a href="https://codeberg.org/shadow/SpywareWatchdog">Codeberg</a>.
|
||||
</p>
|
||||
<p>
|
||||
All contributions must be licensed under the CC0 license to be
|
||||
accepted.
|
||||
</p>
|
||||
<a href="../LICENSE.txt">
|
||||
<img class="icon" src="../images/cc0.png" alt="CC0 License" />
|
||||
</a>
|
||||
<!--Dont change-->
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<hr/>
|
||||
<b>This article was created on 2021.09.02</b><br/>
|
||||
<b>This article was last modified on 2021.09.02</b><br/>
|
||||
<hr/>
|
||||
<p>If you want to edit this article, or contribute your own article(s), visit us at the git repo on <a href="https://codeberg.org/shadow/SpywareWatchdog">Codeberg</a>.</p>
|
||||
<p>All contributions must be licensed under the CC0 license to be accepted.</p>
|
||||
<a href="../LICENSE.txt"><img class="icon" src="../images/cc0.png" alt="CC0 License" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
|
@ -7,14 +7,14 @@ modified: 2018.12.12
|
|||
version: 1337
|
||||
---
|
||||
|
||||
## Introduction
|
||||
# Introduction
|
||||
Google Chrome is a web browser developed and distributed by [Google](https://spyware.neocities.org/articles/google.html).
|
||||
|
||||
## Content
|
||||
### Google Chrome is not fully open source
|
||||
# Content
|
||||
## Google Chrome is not fully open source
|
||||
Large parts of Google Chrome are open source, however not all of them are, and this prevents people from checking the entire software for potential spyware features that are not disclosed.
|
||||
|
||||
### Google Chrome tracks the user's search history
|
||||
## Google Chrome tracks the user's search history
|
||||
Google Chrome contains several spyware features that reply on the user's search history being uploaded to Google servers. This is confirmed by the language in the privacy policy[^1], clarifying the spyware features that rely on this.
|
||||
|
||||
The first spyware feature is Google Chrome's integration with the "Google Account" spyware platform. *"If you are signed in to a Google site or signed in to Chrome and Google is your default search engine, searches you perform using the address bar in Chrome are stored in your Google account."*
|
||||
|
@ -24,7 +24,7 @@ Google Chrome also contains a spyware feature called "Search prediction service"
|
|||
|
||||
There is also the spyware feature "Navigation Assistance" which states that: *"When you can’t connect to a web page, you can get suggestions for alternative pages similar to the one you're trying to reach. In order to offer you suggestions, Chrome sends Google the URL of the page you're trying to reach. "*
|
||||
|
||||
### Google Chrome profiles your computer usage
|
||||
## Google Chrome profiles your computer usage
|
||||
In the privacy policy[^1], Google details the extreme spyware feature it labels "Usage Statistics and Crash Reports". What it does, is it sends very detailed information about your hardware and computer usage, which confirms that it definitely contains the following spyware features:
|
||||
|
||||
* A tracker that records mouse input over time
|
||||
|
@ -32,29 +32,29 @@ In the privacy policy[^1], Google details the extreme spyware feature it labels
|
|||
|
||||
But, it can also be extrapolated from the vague language that Chrome could and probably does monitor what other programs you have open. Either way, it is an extreme amount of information being collected, since it can be used to recreate what the user is doing on their desktop at all times. Chrome clarifies that this information is being sent whenever a website is being "slow" or whenever Google Chrome crashes.
|
||||
|
||||
### Google Chrome is integrated with Google Payments
|
||||
## Google Chrome is integrated with Google Payments
|
||||
Google Payments is a spyware service that records your banking information and sends it to Google.[^2] This service is integrated into the Google Chrome browser, which makes it another opt-in spyware feature in the software.
|
||||
|
||||
### Google Chrome contains a keylogger
|
||||
## Google Chrome contains a keylogger
|
||||
This was confirmed in multiple places[^3][^4]. Basically, whenever you type into the search bar, that information is sent to Google. You can apparently turn it off by opting out of the "suggestion service".
|
||||
|
||||
### Google Chrome records your voice
|
||||
## Google Chrome records your voice
|
||||
Google Chrome is confirmed to be constantly listening to any open microphones on your computer. This can be found in this statement[^5] in a privacy publication. *"Voice & audio information may be collected. For example, if your child uses audio activation commands (e.g., "OK, Google" or touching the microphone icon), a recording of the following speech/audio, **plus a few seconds before**, will be stored to their account…"* This feature is opt-in if you are using the "Google Accounts" spyware platform and specifically tell Google to build a profile of your child. It's unverified whether or not Google uploads information it listens too to its servers outside of this feature.
|
||||
|
||||
### Google Chrome saves user passwords on Google Servers
|
||||
## Google Chrome saves user passwords on Google Servers
|
||||
Any password stored in Google Chrome's "password management" feature is uploaded to Google if you sign into the "Google Accounts" spyware platform.
|
||||
|
||||
### Google Chrome profiles users in other various ways
|
||||
## Google Chrome profiles users in other various ways
|
||||
According to the privacy policy[^1], Google Chrome profiles what kinds of web forms you fill out, as well as what kind of language the content you consume is primarily in. Google Chrome also creates a unique identifier for each install you do. This unique identifier is sent to Google whenever you start the browser, so that Google can create a consistent user identity for you, undermining anonymity. Google also stores all of your settings on it's official servers when using the "Google Accounts" feature.
|
||||
|
||||
### Google Chrome is self-updating software
|
||||
## Google Chrome is self-updating software
|
||||
Google Chrome has an updater which is constantly running in the background and syncing with Google servers to check for updates. The updater will download and run unverified binaries from Google when it updates Google Chrome. It is impossible for an automatic updater service such as this to verify that the updates are not spyware and/or do not contain additional spyware features.
|
||||
|
||||
## Further
|
||||
# Further
|
||||
* [Reasons to not use google](https://stallman.org/google.html) [[web.archive.org]](https://web.archive.org/web/20180512214729/http://stallman.org/google.html) [[archive.is]](http://archive.is/20170929072403/https://stallman.org/google.html)
|
||||
* [Welcome to the Botnet. Or, The Case Against Google Chrome](https://8ch.net/tech/chrome.html) [[web.archive.org]](https://web.archive.org/web/20150501010435/https://8ch.net/tech/chrome.html) [[archive.is]](http://archive.is/OR4dz)
|
||||
|
||||
## Sources
|
||||
# Sources
|
||||
1. [Google Chrome Privacy Notice](https://www.google.com/chrome/browser/privacy/index.html) [[web.archive.org]](http://web.archive.org/web/20180427041202/https://www.google.com/chrome/browser/privacy/index.html) [[archive.is]](https://archive.is/GJIKw)
|
||||
2. [Google Payments Privacy Notice](https://payments.google.com/payments/apis-secure/get_legal_document?ldo=0&ldt=privacynotice) [[web.archive.org]](https://web.archive.org/web/20180514095832/https://payments.google.com/payments/apis-secure/get_legal_document?ldo=0&ldt=privacynotice)
|
||||
3. [Google Chrome – Spyware? Confirmed?](http://www.favbrowser.com/google-chrome-spyware-confirmed/) [[web.archive.org]](https://web.archive.org/web/20180410043922/http://www.favbrowser.com/google-chrome-spyware-confirmed/) [[archive.li]](https://archive.li/jxCPf)
|
|
@ -0,0 +1,85 @@
|
|||
---
|
||||
title: Example
|
||||
rating: 0
|
||||
catagory: Hidden
|
||||
created: 2021.09.02
|
||||
modified: 2021.09.02
|
||||
---
|
||||
|
||||
# Introduction
|
||||
This is a example article for the markdown format. The markdown format uses [daringfireball's Markdown Syntax](https://daringfireball.net/projects/markdown/syntax) with some modifications.
|
||||
This article is not to teach you how to use markdown, it just shows you how they look in spyware watchdog and let you know of any special requirements etc.
|
||||
|
||||
# Content
|
||||
- - -
|
||||
## Source reference (CUSTOM)
|
||||
This will link to source 1[^1]
|
||||
This will link to source 2[^2]
|
||||
|
||||
- - -
|
||||
## Headers
|
||||
Below are all usable header types, Header 1 is reserved for article sections and will cause issues if used.
|
||||
## Header 2
|
||||
### Header 3
|
||||
#### Header 4
|
||||
##### Header 5
|
||||
###### Header 6
|
||||
|
||||
- - -
|
||||
## Blockquote
|
||||
> This is a blockquote, it does blockquote stuff.
|
||||
> It does not like Spyware Watchdog does not
|
||||
> have any special blockquote css.
|
||||
|
||||
- - -
|
||||
## Lists
|
||||
* Element 1
|
||||
* Element 2
|
||||
* Element 3
|
||||
|
||||
## Numbered Lists
|
||||
|
||||
1. Element 1
|
||||
2. Element 2
|
||||
3. Element 3
|
||||
|
||||
- - -
|
||||
## Codeblock
|
||||
This is a codeblock.
|
||||
Turns out Spyware Watchdog actually supports codeblocks.
|
||||
(Unlike Blockquotes)
|
||||
|
||||
- - -
|
||||
## Horiziontal Rule
|
||||
You have seen this alot in this article thus far, while they can be used without spaces adding spaces avoids them acting as a Header.
|
||||
- - -
|
||||
|
||||
- - -
|
||||
## Links
|
||||
[Click Me](http://example.com/ "Title")
|
||||
|
||||
- - -
|
||||
## Emphasis
|
||||
*Italics*
|
||||
**Bold**
|
||||
|
||||
- - -
|
||||
## Code
|
||||
Apparently `Codeblocks` was not enough so they also needed `Code`.
|
||||
|
||||
- - -
|
||||
## Images
|
||||

|
||||
|
||||
- - -
|
||||
## HTML
|
||||
Html tags should still be fully supported.
|
||||
|
||||
<button style="background-color: #FF0000; transform: rotate(30deg);" onclick="alert('Javascript bad.')">OOh look a shiny button</button>
|
||||
|
||||
# Further
|
||||
* [Markdown Tutorial](https://www.markdowntutorial.com/)
|
||||
|
||||
# Sources
|
||||
1. [Daring Fireball: Markdown Syntax Documentation](https://daringfireball.net/projects/markdown/syntax)
|
||||
2. [Neocities](https://neocities.org/)
|
|
@ -1,81 +0,0 @@
|
|||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
|
||||
<head>
|
||||
<meta http-equiv="Content-type" content="application/xhtml+xml;charset=utf-8" />
|
||||
<title>Google Chrome — Spyware Watchdog</title>
|
||||
<link rel="stylesheet" href="../style.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="case">
|
||||
<div class="nav">
|
||||
<a href="index.html">← Catalog</a>
|
||||
</div>
|
||||
|
||||
<div class="main">
|
||||
<img src="../images/chrome_logo.png" alt="Google Chrome's Logo" />
|
||||
<h1>Google Chrome</h1>
|
||||
<p>Google Chrome is a web browser developed and distributed by <a href="https://spyware.neocities.org/articles/google.html">Google</a>.</p>
|
||||
<h2>Spyware Level: 8</h2>
|
||||
<h3>Google Chrome is not fully open source</h3>
|
||||
<p>Large parts of Google Chrome are open source, however not all of them are, and this prevents people from checking the entire software for potential spyware features that are not disclosed.</p>
|
||||
<h3>Google Chrome tracks the user's search history</h3>
|
||||
<p>Google Chrome contains several spyware features that reply on the user's search history being uploaded to Google servers. This is confirmed by the language in the privacy policy<sup><a href="#source1">[1]</a></sup>, clarifying the spyware features that rely on this.</p>
|
||||
<p>The first spyware feature is Google Chrome's integration with the "Google Account" spyware platform. <em>"If you are signed in to a Google site or signed in to Chrome and Google is your default search engine, searches you perform using the address bar in Chrome are stored in your Google account."</em></p>
|
||||
<p>Google Chrome also contains a spyware feature called "Search prediction service". It is explained that:
|
||||
<em>"When you search using the address bar in Chrome, the characters you type (even if you haven’t hit "enter" yet) are sent to your default search engine. If Google is your default search engine, predictions are based on your own search history, topics related to what you’re typing and what other people are searching for."</em></p>
|
||||
<p>There is also the spyware feature "Navigation Assistance" which states that: <em>"When you can’t connect to a web page, you can get suggestions for alternative pages similar to the one you're trying to reach. In order to offer you suggestions, Chrome sends Google the URL of the page you're trying to reach. "</em></p>
|
||||
<h3>Google Chrome profiles your computer usage</h3>
|
||||
<p>In the privacy policy<sup><a href="#source1">[1]</a></sup>, Google details the extreme spyware feature it labels "Usage Statistics and Crash Reports". What it does, is it sends very detailed information about your hardware and computer usage, which confirms that it definitely contains the following spyware features:</p>
|
||||
<ul>
|
||||
<li>A tracker that records mouse input over time</li>
|
||||
<li>A tracker that profiles memory usage</li>
|
||||
</ul>
|
||||
<p>But, it can also be extrapolated from the vague language that Chrome could and probably does monitor what other programs you have open. Either way, it is an extreme amount of information being collected, since it can be used to recreate what the user is doing on their desktop at all times. Chrome clarifies that this information is being sent whenever a website is being "slow" or whenever Google Chrome crashes.</p>
|
||||
<h3>Google Chrome is integrated with Google Payments</h3>
|
||||
<p>Google Payments is a spyware service that records your banking information and sends it to Google.<sup><a href="#source2">[2]</a></sup> This service is integrated into the Google Chrome browser, which makes it another opt-in spyware feature in the software.</p>
|
||||
<h3>Google Chrome contains a keylogger</h3>
|
||||
<p>This was confirmed in multiple places<sup><a href="#source3">[3]</a></sup><sup><a href="#source4">[4]</a></sup>. Basically, whenever you type into the search bar, that information is sent to Google. You can apparently turn it off by opting out of the "suggestion service".</p>
|
||||
<h3>Google Chrome records your voice</h3>
|
||||
<p>Google Chrome is confirmed to be constantly listening to any open microphones on your computer. This can be found in this statement<sup><a href="#source5">[5]</a></sup> in a privacy publication. <em>"Voice & audio information may be collected. For example, if your child uses audio activation commands (e.g., "OK, Google" or touching the microphone icon), a recording of the following speech/audio, </em><em>plus a few seconds before</em><em>, will be stored to their account…"</em> This feature is opt-in if you are using the "Google Accounts" spyware platform and specifically tell Google to build a profile of your child. It's unverified whether or not Google uploads information it listens too to its servers outside of this feature.</p>
|
||||
<h3>Google Chrome saves user passwords on Google Servers</h3>
|
||||
<p>Any password stored in Google Chrome's "password management" feature is uploaded to Google if you sign into the "Google Accounts" spyware platform.</p>
|
||||
<h3>Google Chrome profiles users in other various ways</h3>
|
||||
<p>According to the privacy policy<sup><a href="#source1">[1]</a></sup>, Google Chrome profiles what kinds of web forms you fill out, as well as what kind of language the content you consume is primarily in. Google Chrome also creates a unique identifier for each install you do. This unique identifier is sent to Google whenever you start the browser, so that Google can create a consistent user identity for you, undermining anonymity. Google also stores all of your settings on it's official servers when using the "Google Accounts" feature.</p>
|
||||
<h3>Google Chrome is self-updating software</h3>
|
||||
<p>Google Chrome has an updater which is constantly running in the background and syncing with Google servers to check for updates. The updater will download and run unverified binaries from Google when it updates Google Chrome. It is impossible for an automatic updater service such as this to verify that the updates are not spyware and/or do not contain additional spyware features.</p>
|
||||
</div>
|
||||
|
||||
<div class="further">
|
||||
<hr>
|
||||
<div class="futher">
|
||||
<h4>Further Reading:</h4>
|
||||
<ul>
|
||||
<li><a href="https://stallman.org/google.html">Reasons to not use google</a> <a href="https://web.archive.org/web/20180512214729/http://stallman.org/google.html">[web.archive.org]</a> <a href="http://archive.is/20170929072403/https://stallman.org/google.html">[archive.is]</a></li>
|
||||
<li><a href="https://8ch.net/tech/chrome.html">Welcome to the Botnet. Or, The Case Against Google Chrome</a> <a href="https://web.archive.org/web/20150501010435/https://8ch.net/tech/chrome.html">[web.archive.org]</a> <a href="http://archive.is/OR4dz">[archive.is]</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="sources">
|
||||
<hr>
|
||||
<div class="sources">
|
||||
<h4>Sources:</h4>
|
||||
<ol><li id="source1"><p><a href="https://www.google.com/chrome/browser/privacy/index.html">Google Chrome Privacy Notice</a> <a href="http://web.archive.org/web/20180427041202/https://www.google.com/chrome/browser/privacy/index.html">[web.archive.org]</a> <a href="https://archive.is/GJIKw">[archive.is]</a></p></li><li id="source2"><p><a href="https://payments.google.com/payments/apis-secure/get_legal_document?ldo=0&ldt=privacynotice">Google Payments Privacy Notice</a> <a href="https://web.archive.org/web/20180514095832/https://payments.google.com/payments/apis-secure/get_legal_document?ldo=0&ldt=privacynotice">[web.archive.org]</a></p></li><li id="source3"><p><a href="http://www.favbrowser.com/google-chrome-spyware-confirmed/">Google Chrome – Spyware? Confirmed?</a> <a href="https://web.archive.org/web/20180410043922/http://www.favbrowser.com/google-chrome-spyware-confirmed/">[web.archive.org]</a> <a href="https://archive.li/jxCPf">[archive.li]</a></p></li><li id="source4"><p><a href="https://jischinger.wordpress.com/2008/11/16/google-chrome-a-keylogger-privacy-concerns/">Google Chrome a Keylogger – Privacy Concerns</a> <a href="https://web.archive.org/web/20180410043922/https://jischinger.wordpress.com/2008/11/16/google-chrome-a-keylogger-privacy-concerns/">[web.archive.org]</a> <a href="https://archive.li/HclxK">[archive.li]</a></p></li><li id="source5"><p><a href="https://families.google.com/familylink/privacy/child-policy/">Privacy Notice for Google Accounts Managed with Family Link (“Privacy Notice”)</a> <a href="https://web.archive.org/web/20180524142231/https://families.google.com/familylink/privacy/child-policy/">[web.archive.org]</a> <a href="https://archive.li/3ncnz">[archive.li]</a></p></li>
|
||||
</ol>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<hr><b>This article was created on 0000.00.00</b></br><b>This article was last modified on 2018.12.12</b></br><b>This article is made for version 1337 of the software</b>
|
||||
<hr>
|
||||
<p>If you want to edit this article, or contribute your own article(s), visit us at the git repo on <a href="https://codeberg.org/shadow/SpywareWatchdog">Codeberg</a>.</p>
|
||||
<p>All contributions must be licensed under the CC0 license to be accepted.</p>
|
||||
<a href="../LICENSE.txt"><img class="icon" src="../images/cc0.png" alt="CC0 License" /></a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
110
src/convert.py
110
src/convert.py
|
@ -1,12 +1,13 @@
|
|||
## Imports
|
||||
import re # built-in
|
||||
import markdown, yaml #PIP
|
||||
import extension # local
|
||||
import re, os, sys
|
||||
import markdown, yaml
|
||||
import extension
|
||||
|
||||
## Config
|
||||
FORMAT_HTML = False # Useful for debugging, can be disabled otherwise.
|
||||
CONFIG_REGEX = r"---((.|\n)+)---" # Regex used to find YAML config.
|
||||
CATAGORY_REGEX = r"(?:^|\n)##\s([^\n]*)\n(.*?)(?=\n##?\s|$)" # Regex used to find each catagory - source: https://stackoverflow.com/a/66619938.
|
||||
CONFIG_REGEX = r"---((.|\n)*?)---" # Regex used to find YAML config.
|
||||
CATAGORY_REGEX = r"(?:^|\n)#\s([^\n]*)\n+(.*?)(?=\n#\s|$)" # Regex used to find each catagory - source: https://stackoverflow.com/a/66619938.
|
||||
ARTICLES_SRC_DIR = "../articles_src"
|
||||
ARTICLES_DIR = "../articles"
|
||||
|
||||
## Main
|
||||
f = open("template.html")
|
||||
|
@ -27,59 +28,54 @@ def convertMarkdown(inputStr, fileName):
|
|||
raise Exception("Config regex failed")
|
||||
config = yaml.safe_load(configReg.group(1))
|
||||
|
||||
# Get Markdown catagories
|
||||
catagories = {}
|
||||
catagoriesReg = re.finditer(CATAGORY_REGEX, inputStr, re.DOTALL)
|
||||
if catagoriesReg is None:
|
||||
raise Exception("Catagories regex failed")
|
||||
for _, match in enumerate(catagoriesReg, start=1):
|
||||
catagories[match.group(1)] = match.group(2)
|
||||
# Get sections
|
||||
sections = {}
|
||||
sectionsReg = re.finditer(CATAGORY_REGEX, inputStr, re.DOTALL)
|
||||
if sectionsReg is None:
|
||||
raise Exception("Sections regex failed")
|
||||
for _, match in enumerate(sectionsReg, start=1):
|
||||
sections[match.group(1)] = match.group(2)
|
||||
|
||||
## Document generation
|
||||
# Futher reading
|
||||
further = ""
|
||||
if "Further" in catagories:
|
||||
further = """<hr>
|
||||
<div class="futher">
|
||||
if "Further" in sections:
|
||||
further = """<hr/>
|
||||
<h4>Further Reading:</h4>
|
||||
{further}
|
||||
</div>
|
||||
""".format(further = md.convert(catagories['Further']))
|
||||
{further}""".format(further = md.convert(sections['Further']))
|
||||
|
||||
# Sources
|
||||
sources = ""
|
||||
if "Sources" in catagories:
|
||||
if "Sources" in sections:
|
||||
a = ""
|
||||
for i in catagories['Sources'].split("\n"):
|
||||
for i in sections['Sources'].split("\n"):
|
||||
if i != "":
|
||||
result = re.match(r"(\d+)\. (.+)", i)
|
||||
a += """<li id="source{number}">{content}</li>""".format(
|
||||
a += """\n\t<li id="source{number}">{content}</li>""".format(
|
||||
number = result.group(1),
|
||||
content = md.convert(result.group(2))
|
||||
)
|
||||
|
||||
sources = f"""<hr>
|
||||
<div class="sources">
|
||||
<h4>Sources:</h4>
|
||||
<ol>{a}
|
||||
</ol>
|
||||
</div>"""
|
||||
sources = f"""<hr/>
|
||||
<h4>Sources:</h4>
|
||||
<ol>{a}
|
||||
</ol>"""
|
||||
|
||||
# Footer
|
||||
footer = "<hr>"
|
||||
footer = "<hr/>"
|
||||
if "created" in config:
|
||||
footer += f"<b>This article was created on {config['created']}</b></br>"
|
||||
footer += f"\n<b>This article was created on {config['created']}</b><br/>"
|
||||
if "modified" in config:
|
||||
footer += f"<b>This article was last modified on {config['modified']}</b></br>"
|
||||
footer += f"\n<b>This article was last modified on {config['modified']}</b><br/>"
|
||||
if "version" in config:
|
||||
footer += f"<b>This article is made for version {config['version']} of the software</b>"
|
||||
footer += f"\n<b>This article is for version {config['version']} of {config['title']}</b><br/>"
|
||||
|
||||
html = MAIN_HTML.format(
|
||||
title = config['title'],
|
||||
fileName = fileName,
|
||||
spywareLevel = config['rating'],
|
||||
introduction = md.convert(catagories['Introduction']),
|
||||
content = md.convert(catagories['Content']),
|
||||
introduction = md.convert(sections['Introduction']),
|
||||
content = md.convert(sections['Content']),
|
||||
further = further,
|
||||
sources = sources,
|
||||
footer = footer
|
||||
|
@ -87,9 +83,45 @@ def convertMarkdown(inputStr, fileName):
|
|||
|
||||
return html
|
||||
|
||||
open("chrome.html", "w", encoding="utf8").write(
|
||||
convertMarkdown(
|
||||
open("chrome.md", encoding="utf8").read(),
|
||||
"chrome"
|
||||
def convertFile(file):
|
||||
fileNoExt = file.split(".")[0]
|
||||
article = convertMarkdown(
|
||||
open(ARTICLES_SRC_DIR+"/"+file, encoding="utf8").read(),
|
||||
fileNoExt
|
||||
)
|
||||
)
|
||||
f = open(ARTICLES_DIR+"/"+(fileNoExt+".html"), "w", encoding="utf8")
|
||||
f.write(article)
|
||||
f.close()
|
||||
|
||||
# Command line handler
|
||||
if len(sys.argv) > 1:
|
||||
action = sys.argv[1]
|
||||
|
||||
# Convert every file in ARTICLES_SRC_DIR
|
||||
if action == "convertAll":
|
||||
for file in os.listdir(ARTICLES_SRC_DIR):
|
||||
print(f"Converting {file}...")
|
||||
convertFile(file)
|
||||
|
||||
# Convert specific file in ARTICLES_SRC_DIR
|
||||
elif action == "convert":
|
||||
if len(sys.argv) >= 3:
|
||||
convertFile(sys.argv[2])
|
||||
else:
|
||||
print("You need to specify which file you want to convert.")
|
||||
exit()
|
||||
|
||||
# Invalid action
|
||||
else:
|
||||
print("Unknown action.")
|
||||
exit()
|
||||
|
||||
print("Task completed successfully")
|
||||
|
||||
else:
|
||||
# Usage
|
||||
print(f"""usage: convert.py [action] <args>
|
||||
|
||||
convert [fileName] - Convert specific file in {ARTICLES_SRC_DIR} and writes to {ARTICLES_DIR}
|
||||
convertAll - Convert every file in {ARTICLES_SRC_DIR} and writes to {ARTICLES_DIR}""")
|
||||
exit()
|
|
@ -0,0 +1,3 @@
|
|||
#!/bin/bash
|
||||
|
||||
python convert.py convertAll
|
|
@ -0,0 +1 @@
|
|||
python convert.py convertAll
|
|
@ -17,7 +17,7 @@
|
|||
<img src="../images/{fileName}_logo.png" alt="{title}'s Logo" />
|
||||
<h1>{title}</h1>
|
||||
{introduction}
|
||||
<h2>Spyware Level: {spywareLevel}</h2>
|
||||
<h2>Spyware Level: <a href="spywareLevels.html#{spywareLevel}">{spywareLevel}</a></h2>
|
||||
{content}
|
||||
</div>
|
||||
|
||||
|
@ -31,10 +31,12 @@
|
|||
|
||||
<div class="footer">
|
||||
{footer}
|
||||
<hr>
|
||||
<hr/>
|
||||
<p>If you want to edit this article, or contribute your own article(s), visit us at the git repo on <a href="https://codeberg.org/shadow/SpywareWatchdog">Codeberg</a>.</p>
|
||||
<p>All contributions must be licensed under the CC0 license to be accepted.</p>
|
||||
<a href="../LICENSE.txt"><img class="icon" src="../images/cc0.png" alt="CC0 License" /></a>
|
||||
<a href="../LICENSE.txt">
|
||||
<img class="icon" src="../images/cc0.png" alt="CC0 License" />
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
|
Loading…
Reference in New Issue