Compare commits

..

No commits in common. "69115b9e642879f38322755080f687afcfdbf0f6" and "316e4ab50c9566f340cb518f4d6e0c798ca1be32" have entirely different histories.

5 changed files with 10 additions and 7 deletions

View File

@ -174,13 +174,7 @@ export default function generateSurveyQuestions(clusters: RequestCluster[]) {
{ {
type: 'html', type: 'html',
name: 'intro', name: 'intro',
html: /* HTML */ `<p> html: '<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Ab, odit dicta at aut esse culpa eveniet iure odio voluptates veniam sit. Libero explicabo, perspiciatis ad expedita officiis inventore impedit ducimus!</p>',
Analiza ruchu strony zakończona. Aby lepiej oszacować, gdzie
potencjalne obszary robocze pod względem zgodności z RODO, możesz
udzielić odpowiedzi na pytania dotyczące funkcjonowania strony. Wtyczka
wtedy wygeneruje raport lub treść maila, którą możesz wysłać do
administratora strony.
</p>`,
}, },
], ],
}, },

View File

@ -37,6 +37,7 @@ export default class NoInformationAtAllProblem extends Problem {
if ( if (
this.getMarkedClusters().some((cluster) => { this.getMarkedClusters().some((cluster) => {
console.log(cluster);
return cluster.hasMarkedCookies(); return cluster.hasMarkedCookies();
}) })
) { ) {

View File

@ -12,6 +12,7 @@ export default function useSurvey(
const [survey, setSurvey] = React.useState<Survey.Model>(null); const [survey, setSurvey] = React.useState<Survey.Model>(null);
React.useEffect(() => { React.useEffect(() => {
const model = generateSurveyQuestions(clusters); const model = generateSurveyQuestions(clusters);
console.log(model);
const survey = new Survey.Model(model); const survey = new Survey.Model(model);
survey.onProcessTextValue.add(function ( survey.onProcessTextValue.add(function (
sender: Survey.SurveyModel, sender: Survey.SurveyModel,

View File

@ -119,6 +119,10 @@ export default function StolenDataCluster({
const fullHosts = cluster.getFullHosts(); const fullHosts = cluster.getFullHosts();
const [version] = useEmitter(cluster); const [version] = useEmitter(cluster);
/* console.log('Stolen data cluster!', shorthost, refreshToken); */
console.log(cluster.getMarkedEntries());
return ( return (
<div className="stolen-data-cluster-container"> <div className="stolen-data-cluster-container">
<header className="domains-container"> <header className="domains-container">

View File

@ -91,6 +91,9 @@ export default class ExtendedRequest {
this.url = data.url; this.url = data.url;
this.shorthost = getshorthost(data.url); this.shorthost = getshorthost(data.url);
this.requestBody = ((data as any).requestBody as undefined | RequestBody) || {}; this.requestBody = ((data as any).requestBody as undefined | RequestBody) || {};
if (this.url.includes('criteo')) {
console.log(this);
}
ExtendedRequest.by_id[data.requestId] = this; ExtendedRequest.by_id[data.requestId] = this;
this.data = Object.assign({}, data); this.data = Object.assign({}, data);