Notifications
Clear all

How can I hide the url of the iframe

1 Posts
1 Users
0 Reactions
2,111 Views
TinyWebGallery
Posts: 923
Admin
Topic starter
(@admin)
Prominent Member
Joined: 16 years ago

You can't. The browser needs the url to load the page and therefore it is in the source code. You see it in the source code and also in the network tab of all browser. 

What you can do is that your iframe can only be loaded in a parent you define! 

See: http://www.tinywebgallery.com/blog/advanced-iframe/advanced-iframe-pro-demo/change-links-targets#e11

If you open the iframe page directly the page gets included into your page again. And if someone else is including the iframe the page gets also redirected to your page again.

Best, Michael