Rename active VG-IV module nomenclature to VG-Observe
Dieser Commit ist enthalten in:
@@ -27,9 +27,9 @@ VG-Core ist nicht zustaendig fuer:
|
||||
- Block-/Rewrite-Interventionen
|
||||
- spekulative AdTech-Bewertungen
|
||||
|
||||
## 3. VG-IV
|
||||
## 3. VG-Observe
|
||||
|
||||
VG-IV ist zustaendig fuer:
|
||||
VG-Observe ist zustaendig fuer:
|
||||
|
||||
- TCF-/CMP-Beobachtung
|
||||
- TC-String-Erfassung
|
||||
@@ -40,7 +40,7 @@ VG-IV ist zustaendig fuer:
|
||||
|
||||
Grundsatz:
|
||||
|
||||
VG-IV beobachtet. VG-IV manipuliert nicht.
|
||||
VG-Observe beobachtet. VG-Observe manipuliert nicht.
|
||||
|
||||
## 4. VG-Block
|
||||
|
||||
|
||||
+11
-11
@@ -1,9 +1,9 @@
|
||||
console.log("VendorGet-IV background loaded");
|
||||
console.log("VG-Observe background loaded");
|
||||
|
||||
globalThis.VGCoreModuleRegistry.registerModule({
|
||||
id: "vg-iv",
|
||||
name: "VG-IV",
|
||||
description: "Consent, TCF, GVL and evidence observation module",
|
||||
id: "vg-observe",
|
||||
name: "VG-Observe",
|
||||
description: "TCF, CMP, GVL and consent evidence observation module",
|
||||
kind: "evidence",
|
||||
status: "active",
|
||||
});
|
||||
@@ -91,7 +91,7 @@ async function handleVendorGetMessage(message, sender) {
|
||||
rememberLatestTcfPing(tabId, pingData);
|
||||
}
|
||||
|
||||
console.log("VendorGet-IV tcf ping", {
|
||||
console.log("VG-Observe tcf ping", {
|
||||
payload: message.payload.payload,
|
||||
sender
|
||||
});
|
||||
@@ -100,12 +100,12 @@ async function handleVendorGetMessage(message, sender) {
|
||||
}
|
||||
|
||||
if (eventName !== "consent_capture") {
|
||||
console.log("VendorGet-IV ignored event", message);
|
||||
console.log("VG-Observe ignored event", message);
|
||||
return;
|
||||
}
|
||||
|
||||
if (isEvidenceWriteSuspended()) {
|
||||
console.info("VendorGet-IV evidence write skipped: maintenance mode");
|
||||
console.info("VG-Observe evidence write skipped: maintenance mode");
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -128,7 +128,7 @@ async function handleVendorGetMessage(message, sender) {
|
||||
message.payload.payload?.rawTcData ?? null
|
||||
);
|
||||
|
||||
console.log("VendorGet-IV consent state persisted", result);
|
||||
console.log("VG-Observe consent state persisted", result);
|
||||
}
|
||||
|
||||
async function handleGetEvidenceRetentionStatusMessage() {
|
||||
@@ -236,7 +236,7 @@ async function handleFetchOfficialGvlMessage() {
|
||||
sha256: result.snapshot.sha256
|
||||
};
|
||||
} catch (error) {
|
||||
console.warn("VendorGet-IV official GVL fetch failed", error);
|
||||
console.warn("VG-Observe official GVL fetch failed", error);
|
||||
|
||||
return {
|
||||
success: false,
|
||||
@@ -248,7 +248,7 @@ async function handleFetchOfficialGvlMessage() {
|
||||
function buildConsentStateV1(rawCapture, sender, latestPingData) {
|
||||
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.
|
||||
const state = {
|
||||
schemaVersion: 1,
|
||||
@@ -533,7 +533,7 @@ function decodeTcStringCoreMetadata(tcString) {
|
||||
publisherCC: bitsToString(bits, 201, 12)
|
||||
};
|
||||
} 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;
|
||||
}
|
||||
}
|
||||
|
||||
In neuem Issue referenzieren
Einen Benutzer sperren