6

Someone wants me to help them alter the content of an iframe containing job listings from a 3rd party website. I’ve tried to tell them it’s not possible unless they can convince the 3rd party website to change their global job listing template for everyone. The client seems to think they were able to do this before with another prior job listings provider, but they don’t know how it was done and I can’t begin to imagine how either. What would you tell a client to convince them that it’s not possible?

Comments
  • 4
    Copy the web address of that iframe content and give them the URL.
  • 5
    I don't know if this would work, but you could probably manipulate the content with JS. That's probably how they did it previously.
  • 5
    Fetch the content using ajax instead of iframe, then you could load it in a fragment and change it, unless the provider blocks that.

    But its usually a very bad idea to do since any change by the provider can break it all, and of cause any javascript in the loaded content can fail and possibly break the whole page.

    And its quite possible the old provider had more customization or a different tech solution that allowed for it.
  • 6
    CORS about to ruin all plans
Add Comment