Skip to content

Commit

Permalink
deprecated schema
Browse files Browse the repository at this point in the history
  • Loading branch information
max-ostapenko committed May 9, 2024
1 parent 061b540 commit d6d8d2b
Showing 1 changed file with 0 additions and 17 deletions.
17 changes: 0 additions & 17 deletions dist/privacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -241,23 +241,6 @@ return JSON.stringify({
}
})(),

/**
* Ads Transparency Spotlight Data Disclosure schema
* Only for top frame, can't access child frames (same-origin policy)
*/
ads_transparency_spotlight: (() => {
// Check `meta` tag cf. https://github.com/Ads-Transparency-Spotlight/documentation/blob/main/implement.md
meta_tag = document.querySelector('meta[name="AdsMetadata"]');
let ats = {
present: meta_tag != null,
ads_metadata: null,
};
if (ats.present) {
ats.ads_metadata = meta_tag.content;
}
return ats;
})(),

// Sensitive resources

/**
Expand Down

0 comments on commit d6d8d2b

Please sign in to comment.