Company logo
  • Jobs
  • Bootcamp
  • About Us
  • For professionals
    • Home
    • Jobs
    • Courses
    • Questions
    • Teachers
    • Bootcamp
  • For business
    • Home
    • Our process
    • Plans
    • Assessments
    • Payroll
    • Blog
    • Calculator

0

52
Views
Can an iframe know if it is in viewport? The ifram is not of same origin

I have an iframe that goes inside another page. I do not have control over the other page content, and they are not of same origin. I want to do some actions only when a user sees the iframe. Can I determine from inside the iframe if it is in the viewport?

7 months ago ยท Juan Pablo Isaza
Answer question
Find remote jobs