Can I edit html of an iframe if I CNAME it?
I have an embedded iframe from a domain I don't control and I need to replace a link in the iframes content with another link.
Is this something I can do with a CNAME to the iframe + a CF worker?
2 Replies
you could fetch the source url of that third party and edit it on the worker, then fetch the worker from your website
that issue is not related to cloudflare tho
and what the heck do you want with a cname?
Ah ya I kinda forgot I don't need a cname because the worker already comes with it's own url/routes I can reference and embed. Idk why my brain was over complicating this so much.
🤦♂️
Thanks @boywithkeyboard