Added Explanation text and read more links

This commit is contained in:
z0ccc 2021-09-29 15:16:11 -04:00
parent 1d15c17f73
commit 2a8597f213
7 changed files with 60 additions and 13 deletions

View file

@ -4,9 +4,8 @@
--text: #4b5563; --text: #4b5563;
--border: #ddd; --border: #ddd;
--issueBackground: #f8d7da; --issueBackground: #f8d7da;
--issueHover: #f4c1c6;
--issueBorder: #f5c6cb;
--issueText: #721c24; --issueText: #721c24;
--link: #943ec5;
} }
body { body {
@ -68,6 +67,15 @@ img {
margin: 0 0 12px 0; margin: 0 0 12px 0;
} }
.link {
color: var(--link);
text-decoration: none;
}
.link:hover {
text-decoration: underline;
}
@media screen and (max-width: 500px) { @media screen and (max-width: 500px) {
body { body {
font-size: 14px; font-size: 14px;

View file

@ -8,7 +8,16 @@ const LocationBlock = ({ connectionData }) => (
<Table data={getConnection(connectionData)} /> <Table data={getConnection(connectionData)} />
<p> <p>
<b>Explanation:</b> Your IP address reveals information about your <b>Explanation:</b> Your IP address reveals information about your
connection. Using a VPN or Tor will hide your connection info. connection.{' '}
<a
className="link"
target="_blank"
rel="noreferrer"
alt="Read more about ip connection"
href="https://en.wikipedia.org/wiki/IP_address"
>
Read more
</a>
</p> </p>
</Block> </Block>
); );

View file

@ -7,8 +7,16 @@ const IntlBlock = ({ workerData }) => (
<h1>Intl</h1> <h1>Intl</h1>
<Table data={getIntl(workerData)} /> <Table data={getIntl(workerData)} />
<p> <p>
<b>Explanation:</b> JavaScript can be used to find information about your <b>Explanation:</b> The Intl object exposes info about your computer.{' '}
hardware. This information can be used to create a fingerprint. <a
className="link"
target="_blank"
rel="noreferrer"
alt="Read more about intl"
href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl"
>
Read more
</a>
</p> </p>
</Block> </Block>
); );

View file

@ -9,7 +9,16 @@ const LocationBlock = ({ connectionData, workerData }) => (
<Table data={getLocation(connectionData, workerData)} /> <Table data={getLocation(connectionData, workerData)} />
<p> <p>
<b>Explanation:</b> Your IP address can be used to determine your <b>Explanation:</b> Your IP address can be used to determine your
location. Using a VPN or Tor will hide your true location. location.{' '}
<a
className="link"
target="_blank"
rel="noreferrer"
alt="Read more about ip location"
href="https://en.wikipedia.org/wiki/IP_address"
>
Read more
</a>
</p> </p>
</Block> </Block>
); );

View file

@ -8,7 +8,16 @@ const NavigatorBlock = ({ workerData }) => (
<Table data={getNavigator(workerData)} /> <Table data={getNavigator(workerData)} />
<p> <p>
<b>Explanation:</b> The Navigator interface exposes info about your <b>Explanation:</b> The Navigator interface exposes info about your
computer. computer.{' '}
<a
className="link"
target="_blank"
rel="noreferrer"
alt="Read more about navigator"
href="https://developer.mozilla.org/en-US/docs/Web/API/Navigator"
>
Read more
</a>
</p> </p>
</Block> </Block>
); );

View file

@ -35,10 +35,6 @@ const OtherBlock = ({ workerData }) => {
{battery && adBlock !== undefined && ( {battery && adBlock !== undefined && (
<Table data={getOther(battery, adBlock, workerData)} /> <Table data={getOther(battery, adBlock, workerData)} />
)} )}
<p>
<b>Explanation:</b> JavaScript can be used to find information about
your hardware. This information can be used to create a fingerprint.
</p>
</Block> </Block>
); );
}; };

View file

@ -7,8 +7,16 @@ const ScreenBlock = () => (
<h1>Screen</h1> <h1>Screen</h1>
<Table data={getScreen()} /> <Table data={getScreen()} />
<p> <p>
<b>Explanation:</b> JavaScript can be used to find information about your <b>Explanation:</b> The Screen interface exposes info about your computer.{' '}
hardware. This information can be used to create a fingerprint. <a
className="link"
target="_blank"
rel="noreferrer"
alt="Read more about screen"
href="https://developer.mozilla.org/en-US/docs/Web/API/Screen"
>
Read more
</a>
</p> </p>
</Block> </Block>
); );