/    Sign up×
Community /Pin to ProfileBookmark

Iframe not working correctly !

Hi Developers 😀 , I am working on a little project which i use iframe tag on it to show another webpage within my website.the proplem is : at localhost the iframe loads correctly but at hosting it doesn’t
i tried changing the protocol of src ,referrer-policy,sanbox . But nothing worked & the console show me some errors
link to project : [http://dezara.site](url)
it will ask you for a username ( teic ) & password ( 123 )

to post a comment
Full-stack DeveloperHTML

5 Comments(s)

Copy linkTweet thisAlerts:
@rayan008Aug 17.2020 — 
Same problem. Awaiting further responses
Copy linkTweet thisAlerts:
@JameswalterSep 06.2022 — iFrames are getting blocked by the Chrome Browser – If that's your problem too, disable, then enable iFrames back from Internet Options.

iFrame not working in Chrome – Make sure you get rid of it right away by stopping your antivirus service or using a completely different browser.
Copy linkTweet thisAlerts:
@cootheadSep 06.2022 — > @Jameswalter#1646803

> iframes are getting blocked by the Chrome Browser


That is not true.

What is being blocked by Google and a vast number of websites, is the

ability to have their sites displayed in an iframe on someone elses site,

[b]Further reading[/b]

[url=https://www.thesitewizard.com/apache/prevent-site-from-being-placed-in-frame.shtml][u]How to Prevent Your Website from being Placed in a Frame[/u][/url]

The iframe element is still a valid HTML5 element.

[b]Further reading[/b]

[url=https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe][u][b]MDN[/b] - The Inline Frame element[/u][/url]

[i]coothead[/i]
Copy linkTweet thisAlerts:
@goldsmith125Sep 17.2022 — If you have https then you can use iframe with in your sites. But mostly browsers don't allow popups and iframes[.](https://cashzillo.com/)
Copy linkTweet thisAlerts:
@cootheadSep 17.2022 — > @goldsmith125#1647089

> But mostly browsers don't allow popups and iframes


Whilst that may well be true for popups, it is certanly

not true for the iframe element...

[url=https://caniuse.com/?search=iframe][b][u]Browser support for the iframe element[/u][/b][/url]

[i]coothead[/i]
×

Success!

Help @MuhammadAbdulrazek spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 4.26,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,

tipper: @Samric24,
tipped: article
amount: 1000 SATS,
)...