Rename active VG-IV module nomenclature to VG-Observe

Dieser Commit ist enthalten in:
2026-05-21 20:20:59 +02:00
Ursprung b93378cfcb
Commit c916ba1f1b
2 geänderte Dateien mit 14 neuen und 14 gelöschten Zeilen
+3 -3
Datei anzeigen
@@ -27,9 +27,9 @@ VG-Core ist nicht zustaendig fuer:
- Block-/Rewrite-Interventionen - Block-/Rewrite-Interventionen
- spekulative AdTech-Bewertungen - spekulative AdTech-Bewertungen
## 3. VG-IV ## 3. VG-Observe
VG-IV ist zustaendig fuer: VG-Observe ist zustaendig fuer:
- TCF-/CMP-Beobachtung - TCF-/CMP-Beobachtung
- TC-String-Erfassung - TC-String-Erfassung
@@ -40,7 +40,7 @@ VG-IV ist zustaendig fuer:
Grundsatz: Grundsatz:
VG-IV beobachtet. VG-IV manipuliert nicht. VG-Observe beobachtet. VG-Observe manipuliert nicht.
## 4. VG-Block ## 4. VG-Block
+11 -11
Datei anzeigen
@@ -1,9 +1,9 @@
console.log("VendorGet-IV background loaded"); console.log("VG-Observe background loaded");
globalThis.VGCoreModuleRegistry.registerModule({ globalThis.VGCoreModuleRegistry.registerModule({
id: "vg-iv", id: "vg-observe",
name: "VG-IV", name: "VG-Observe",
description: "Consent, TCF, GVL and evidence observation module", description: "TCF, CMP, GVL and consent evidence observation module",
kind: "evidence", kind: "evidence",
status: "active", status: "active",
}); });
@@ -91,7 +91,7 @@ async function handleVendorGetMessage(message, sender) {
rememberLatestTcfPing(tabId, pingData); rememberLatestTcfPing(tabId, pingData);
} }
console.log("VendorGet-IV tcf ping", { console.log("VG-Observe tcf ping", {
payload: message.payload.payload, payload: message.payload.payload,
sender sender
}); });
@@ -100,12 +100,12 @@ async function handleVendorGetMessage(message, sender) {
} }
if (eventName !== "consent_capture") { if (eventName !== "consent_capture") {
console.log("VendorGet-IV ignored event", message); console.log("VG-Observe ignored event", message);
return; return;
} }
if (isEvidenceWriteSuspended()) { if (isEvidenceWriteSuspended()) {
console.info("VendorGet-IV evidence write skipped: maintenance mode"); console.info("VG-Observe evidence write skipped: maintenance mode");
return; return;
} }
@@ -128,7 +128,7 @@ async function handleVendorGetMessage(message, sender) {
message.payload.payload?.rawTcData ?? null message.payload.payload?.rawTcData ?? null
); );
console.log("VendorGet-IV consent state persisted", result); console.log("VG-Observe consent state persisted", result);
} }
async function handleGetEvidenceRetentionStatusMessage() { async function handleGetEvidenceRetentionStatusMessage() {
@@ -236,7 +236,7 @@ async function handleFetchOfficialGvlMessage() {
sha256: result.snapshot.sha256 sha256: result.snapshot.sha256
}; };
} catch (error) { } catch (error) {
console.warn("VendorGet-IV official GVL fetch failed", error); console.warn("VG-Observe official GVL fetch failed", error);
return { return {
success: false, success: false,
@@ -248,7 +248,7 @@ async function handleFetchOfficialGvlMessage() {
function buildConsentStateV1(rawCapture, sender, latestPingData) { function buildConsentStateV1(rawCapture, sender, latestPingData) {
const decodedTcString = decodeTcStringCoreMetadata(rawCapture?.tcString ?? null); const decodedTcString = decodeTcStringCoreMetadata(rawCapture?.tcString ?? null);
// Firefox/CMP/browser storage remains the consent source of truth; VG-IV // Firefox/CMP/browser storage remains the consent source of truth; VG-Observe
// stores an evidentiary mirror of the observed TCF state. // stores an evidentiary mirror of the observed TCF state.
const state = { const state = {
schemaVersion: 1, schemaVersion: 1,
@@ -533,7 +533,7 @@ function decodeTcStringCoreMetadata(tcString) {
publisherCC: bitsToString(bits, 201, 12) publisherCC: bitsToString(bits, 201, 12)
}; };
} catch (error) { } catch (error) {
console.warn("VendorGet-IV could not decode TC string core metadata", error); console.warn("VG-Observe could not decode TC string core metadata", error);
return null; return null;
} }
} }