Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Response time - delaying the onset of recording

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #149634 by tpartner

So my question was, if you are technically allowed to keep looking via JS for changing content in that iframe from outside.

You are not looking into the iframe for changes. The iframe is sending a message when it detects an event within itself.

Cross-origin manipulation is not allowed but cross-origin messaging is.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
7 years 2 months ago #149639 by jelo

tpartner wrote: You are not looking into the iframe for changes. The iframe is sending a message when it detects an event within itself.

I understand you approach, but I'm asking for the other way around (e.g. in case you cannot add JS code to the iframe).

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #149677 by tpartner

jelo wrote: I understand you approach, but I'm asking for the other way around (e.g. in case you cannot add JS code to the iframe).

You can only access events within the iframe if it has the same origin (domain). In this case, I assume the origins are different.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose