would return the number of elements with class
.question in both iframes on iOS, where it would only return elements from current iframe on Android. By “current” I mean the one that user interacted with to start the script.
We have a requirement to also release an android app.
This is how i managed a similar case