Compare commits

..

No commits in common. "311b27bfb620c5a0199ae59cba63f8530d7098c4" and "8334dce39080b2e5ebf0eed9e458e841f0cbb9c6" have entirely different histories.

2 changed files with 3 additions and 8 deletions

View File

@ -1,4 +1,3 @@
import { useState } from 'react';
import { getMemory } from '../../memory';
import { RequestCluster } from '../../request-cluster';
@ -21,7 +20,6 @@ export function StolenData({
cookiesOrOriginOnly: boolean;
detailsVisibility: boolean;
}) {
const [changesCount, setChangesCount] = useState(0);
if (!origin) {
return (
<div className="stolen-data-container">
@ -36,15 +34,12 @@ export function StolenData({
(cluster) => !cookiesOrOriginOnly || cluster.hasCookies() || cluster.exposesOrigin()
);
return (
<div className={['stolen-data-container', `data-changes-count-${changesCount}`].join(' ')}>
<div className="stolen-data-container">
<span>Domeny{detailsVisibility ? ' oraz przesłane informacje' : null}</span>
<br />
<button
onClick={() => {
clusters.forEach((cluster) => {
cluster.undoMark();
});
setChangesCount(changesCount + 1);
clusters.forEach((cluster) => cluster.undoMark());
}}
style={{ marginTop: '8px', lineHeight: '32px' }}
>

View File

@ -3,7 +3,7 @@
"manifest_version": 2,
"name": "Rentgen",
"short_name": "Rentgen",
"version": "0.2.4",
"version": "0.2.2",
"author": "Kuba Orlik, Arkadiusz Wieczorek (Internet. Time to act! Foundation)",
"homepage_url": "https://git.internet-czas-dzialac.pl/icd/rentgen",
"background": {