0

I would like to add, remove, and adjust the CSS of iFrame. In particular I am looking to to this to Disqus comments which embeds their comments into an iFrame on the page.

If I am allowed to modify the CSS of an iFrame is the only risk that I am susceptible to them (in this case Disqus) updating the CSS classes and ID's?

Matt
  • 2,317
  • 7
  • 41
  • 52

1 Answers1

3

No, you can't.

You can edit it via JavaScript, but the iframe content and its parent need to be on the same domain, if not you will not be able to do it

BackSlash
  • 21,927
  • 22
  • 96
  • 136