Comments (2)
Hi, I understand the issue.
I believe something like what you mentioned could work, but only for "full" access mode. See here for more info on access modes: https://interactiveadvertisingbureau.github.io/Open-Measurement-SDKJS/accessmodes.html
For "limited" access mode, the iframe loading the verification script needs to be sandboxed, so we can't access the window from outside the frame. I think it is unlikely we will be able to solve this issue at least in the short term.
Are you planning to run all verification scripts in full access mode? This is less safe in other ways since verification scripts will have friendly access to the window that loaded OM SDK (typically the top window of the website).
There also may be another option, "domain" access mode. This uses src
instead of srcdoc
with an html file that you host on your website. More information here under "Publisher Support for Domain Access".
If you use domain access mode, you may be able to get this to work today, and it is more secure, but it is more work. For full access mode I would have to check with the OM working group about when we can prioritize this feature request.
from open-measurement-jsclients.
Many thanks for the feedback, seems the "domain" access mode fits our requirement, we will look into it!
from open-measurement-jsclients.
Related Issues (19)
- Use Releases HOT 1
- Where is omsdk-v1.js ? HOT 6
- `session.start` and `session.finish` missing in session API HOT 5
- how to export `src/common/event-typedefs.js` HOT 2
- Every file coming out of the build is 2kb HOT 3
- Example for Video HOT 1
- npm run buildDeps is not working HOT 2
- Session start from JS is not supported in mobile app. Error from Chromecast receiver HOT 1
- Questions about future updates
- multiple creatives HOT 1
- Error in Open-Measurement-SDKJS documentation points to wrong interfaces HOT 1
- Getting console error from sendMessage HOT 37
- How to add verification script to html advertisement HOT 4
- is there a method to check if open measurement integration is present only for video and not for display? HOT 8
- omid_v1_present iframe missing sandbox attribute HOT 3
- Promises on AdSession Tracks Issuing HOT 1
- Issue building on Windows 10
- id for setTimeout and setInterval are prone to errors
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.