Comments (2)
@potench - please take the following as a guess from another novice just starting to read the codebase 🤕
So I think this is used for postMessage
, when vendors load in iframes they cannot access the CMP API directly, so you must implement a message system via https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
from cmp.
The iframe is added so a script can determine if the CMP is available in any parent window. I've added it to this CMP because it is defined as part of the spec described here: https://github.com/InteractiveAdvertisingBureau/GDPR-Transparency-and-Consent-Framework/blob/master/CMP%20JS%20API%20v1.1%20Final.md#CMP-present
from cmp.
Related Issues (20)
- Behavior when gdprApplies is false HOT 3
- PublisherConsents object doesn't match spec HOT 1
- CMP (IAB Reg.) HOT 2
- "success" is not passed down to __cmpResult when using postMessage communication
- The popup gets cutoff on low resolution desktop devices
- isLoaded callback HOT 1
- IE11: switch toggle shows with Activated color in either status of active or deactivated
- IE11: consent buttons are pushed by info and cannot be clicked
- IOS: Close Button not working on IOS devices.
- Portal.js : Code may try to append the portal iframe to non-existent body
- vendorConsents's purposeConsents only works for single vendor?
- Show in vendors list Purposes and Features for each vendor HOT 9
- TCF 2 ? HOT 4
- Are there plans to support TCF V2? HOT 1
- Any way to show consent window directly ? HOT 1
- Giving consent to purposes HOT 1
- Feature request: Additional opt-out links defined by site admin HOT 2
- Clarification: policyUrl format HOT 2
- Missing translations in Spanish HOT 2
- Feature request: event when the consent tool is shown
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cmp.