Mobile app version of vmapp.org
Login or Join
Shelley277

: Is it possible to change a page given its URL? I have an HTML page. There is a link to another page. When I load this other page, it has a header which I do not want to appear.

@Shelley277

Posted in: #Html5 #Javascript

I have an HTML page. There is a link to another page. When I load this other page, it has a header which I do not want to appear. I do not have access to edit the source code for the existing HTML. Is there a way I can hide an element from a URL without changing the code directly?

For example, can I load webmasters.stackexchange.com without having the black navbar at the top being shown?

Another example, can I open A very simple webpage without the top header (<h1>A very simple webpage. This is an "h1" level header.</h1>) being shown? If so, how?

I am hoping to keep this in a simple JavaScript, but I have had no luck googling this answer. This is presenting me some difficulty since I cannot edit the html file directly.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Shelley277

1 Comments

Sorted by latest first Latest Oldest Best

 

@Annie201

You can use iframe to load target website in another html page. You need to change the link in the first page though and create a second html with iframe for the target website. You can show a portion of the target website using css.

However, if you don't own the target website, it may be illegal. Read this - stackoverflow.com/questions/1009815/iframes-and-law

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme