Compare commits
6 Commits
unselect-a
...
develop
| Author | SHA1 | Date | |
|---|---|---|---|
| 311b27bfb6 | |||
| 71e190f944 | |||
| 36bbc713ac | |||
| 8334dce390 | |||
| afbb1d71f0 | |||
| 246f60fba3 |
@ -1,3 +1,4 @@
|
|||||||
|
import { useState } from 'react';
|
||||||
import { getMemory } from '../../memory';
|
import { getMemory } from '../../memory';
|
||||||
import { RequestCluster } from '../../request-cluster';
|
import { RequestCluster } from '../../request-cluster';
|
||||||
|
|
||||||
@ -20,6 +21,7 @@ export function StolenData({
|
|||||||
cookiesOrOriginOnly: boolean;
|
cookiesOrOriginOnly: boolean;
|
||||||
detailsVisibility: boolean;
|
detailsVisibility: boolean;
|
||||||
}) {
|
}) {
|
||||||
|
const [changesCount, setChangesCount] = useState(0);
|
||||||
if (!origin) {
|
if (!origin) {
|
||||||
return (
|
return (
|
||||||
<div className="stolen-data-container">
|
<div className="stolen-data-container">
|
||||||
@ -34,12 +36,15 @@ export function StolenData({
|
|||||||
(cluster) => !cookiesOrOriginOnly || cluster.hasCookies() || cluster.exposesOrigin()
|
(cluster) => !cookiesOrOriginOnly || cluster.hasCookies() || cluster.exposesOrigin()
|
||||||
);
|
);
|
||||||
return (
|
return (
|
||||||
<div className="stolen-data-container">
|
<div className={['stolen-data-container', `data-changes-count-${changesCount}`].join(' ')}>
|
||||||
<span>Domeny{detailsVisibility ? ' oraz przesłane informacje' : null}</span>
|
<span>Domeny{detailsVisibility ? ' oraz przesłane informacje' : null}</span>
|
||||||
<br />
|
<br />
|
||||||
<button
|
<button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
clusters.forEach((cluster) => cluster.undoMark());
|
clusters.forEach((cluster) => {
|
||||||
|
cluster.undoMark();
|
||||||
|
});
|
||||||
|
setChangesCount(changesCount + 1);
|
||||||
}}
|
}}
|
||||||
style={{ marginTop: '8px', lineHeight: '32px' }}
|
style={{ marginTop: '8px', lineHeight: '32px' }}
|
||||||
>
|
>
|
||||||
|
|||||||
@ -3,7 +3,7 @@
|
|||||||
"manifest_version": 2,
|
"manifest_version": 2,
|
||||||
"name": "Rentgen",
|
"name": "Rentgen",
|
||||||
"short_name": "Rentgen",
|
"short_name": "Rentgen",
|
||||||
"version": "0.2.1",
|
"version": "0.2.4",
|
||||||
"author": "Kuba Orlik, Arkadiusz Wieczorek (Internet. Time to act! Foundation)",
|
"author": "Kuba Orlik, Arkadiusz Wieczorek (Internet. Time to act! Foundation)",
|
||||||
"homepage_url": "https://git.internet-czas-dzialac.pl/icd/rentgen",
|
"homepage_url": "https://git.internet-czas-dzialac.pl/icd/rentgen",
|
||||||
"background": {
|
"background": {
|
||||||
@ -39,7 +39,10 @@
|
|||||||
"browser_specific_settings": {
|
"browser_specific_settings": {
|
||||||
"gecko": {
|
"gecko": {
|
||||||
"id": "rentgen@internet-czas-dzialac.pl",
|
"id": "rentgen@internet-czas-dzialac.pl",
|
||||||
"strict_min_version": "91.1.0"
|
"strict_min_version": "91.1.0",
|
||||||
|
"data_collection_permissions": {
|
||||||
|
"required": ["none"]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "rentgen",
|
"name": "rentgen",
|
||||||
"version": "0.2.1",
|
"version": "0.2.2",
|
||||||
"description": "Rentgen is an add-on prepared for both Firefox-based and Chromium-based browsers. This extension will automatically visualize all the data that a given website sends to third parties.",
|
"description": "Rentgen is an add-on prepared for both Firefox-based and Chromium-based browsers. This extension will automatically visualize all the data that a given website sends to third parties.",
|
||||||
"main": "esbuild.config.js",
|
"main": "esbuild.config.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user