So, I need to add https://www.rapidtables.com/tools/notepad.html in my website and I need to remove the header of their website. Is there any way?
Asked
Active
Viewed 44 times
1 Answers
0
if you do iframedoc = document.getElementById("my_iframe").contentDocument;
you can do everything you can do with document
. The problem is that if you dont own the page you are embedding, your edit will be blocked by your browser because of cors (https://en.wikipedia.org/wiki/Cross-origin_resource_sharing). To bypass this you need to fetch the page with your backend server and pass the file to your javascript.

Dharman
- 30,962
- 25
- 85
- 135

Timm Nicolaizik
- 357
- 1
- 11