4 Ways to Fix iFrame When it's Not Working in Chrome
Have you tried using iFrames in another browser?
5 min. read
Updated on
Read our disclosure page to find out how can you help Windows Report sustain the editorial team Read more
Key notes
- If iFrame is not working in Chrome, the easiest solution would be to try a completely different browser.
- But if you're keen on solving this issue, the reason might be that the browser is blocking iFrame.
- This may also be caused by third-party extensions or even your antivirus.
A great number of users have reported encountering issues when trying to use iFrames in their HTML documents. The message states that this file can only be viewed in an iFrame.
Furthermore, various browsers have shown an error message saying Browser does not support iFrames. The issue seems to appear when trying to add iFrame on an SSL-encrypted website (HTTPS://).
To better understand iFrame, it resembles a browser window that resides inside a web page. And its mostly seen on websites that display external content, for instance, a YouTube player or a Google map.
Why iFrame is not working in Chrome?
It’s a simple issue here because Chrome is usually blocking iFrame and that could be the main reason you’re getting the error.
However, iFrame may also be blocked from your Internet Options, by your antivirus or by an add-on you just installed in Chrome. The issue is mainly associated with Google Chrome but can also affect Mozilla users.
So, in this article, we will show you exactly how to enable iFrame in Chrome and we shall explore some of the best-proven methods to solve this issue and similar problems, such as:
- 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
- Enable iFrame in Chrome – Chrome randomly rejects iFrame, so make sure to enable it or use an add-on
- This file can only be viewed in an iFrame – This is the common message of the iFrame error
- The iFrame has not configured – see suggestions in console – iFrame is most likely disabled
- Your browser does not support frames, so you will not be able to view this page – You are using a browser that doesn’t support iFrame
- iFrame not loading in Chrome unless the window is resized – Resize the window to load iFrame
Is iFrame supported by all browsers?
Yes, iFrame is supported by all modern desktop and mobile browsers but not all of them can respond to the new attributes from HTML5.
That being said, the best browsers that work with iFrame are the ones that updated their HTML5 compatibility and its new elements.
What can I do if iFrame doesn’t work in Chrome?
1. Disable/enable iFrames from Internet Options
- Click on the Windows Search tab, type in Internet Options, and select the first option.
- Select the Security tab.
- Click on the Custom level button.
- Scroll down to Launching programs and files in an IFRAME option.
- Now, select Disable if you want to remove it completely, or Prompt to choose for each website you visit.
- Repeat steps 4 and 5 of this method for each of the desired security zones.
- Click Ok to apply and exit the Internet Options menu.
- Check to see if this method solved your issue.
2. Stop your antivirus service
- Depending on the antivirus software you’re using, these steps will vary. (we are using BitDefender for this example).
- Open up BitDefender.
- Select the Protection tab.
- Select Settings under the Antivirus section and toggle the blue button to deactivate protection.
- Check to see if the issue still persists.
We have shown you how to disable the feature in BitDefender but the method is very similar in all other antiviruses.
3. Disable all add-ons from your browser
- In Chrome, select the three dots at the top-right side of your screen, select More tools, then choose Extensions.
- Inside the Extensions window, de-activate all add-ons.
- Try to see if this method solved your issue.
4. Download add-ons to allow iFrames
4.1 Add extension to Chrome
- Open Google Chrome.
- Visit this Chrome Store address.
- Click on the Add to Chrome button, then select Add extension.
- Restart Google Chrome and check to see if the issue is solved.
If iFrame is not working in Chrome, this extension will make things right and the element should start running without any issues.
This solution should also fix the problem if iFrame PDF iFrame autoplay iFrame.onload and iFrame print are not working in Chrome.
4.2 Add extension to Firefox
- Open Mozilla Firefox.
- Download the extension from Firefox store.
- Select Add to Firefox.
- Select Add from the pop-up window.
- Restart Firefox and check to see if the issues are resolved.
If iFrame is not working in Firefox, the extension we recommended above should fix the issue and now it should be all right.
Some of our readers told us that iFrame is not working in Edge either but unfortunately, there is no plug-in to enable it.
Thus, if the issue persists, you should definitely try using another browser as we suggested in Step 1 of this guide.
iFrame is not working in Chrome but works in Firefox
Google Chrome has a different set of rules when it comes to iFrame and it often blocks the content although it works fine on other browsers.
You should also try clicking the shield in the URL title bar because that would also help you see the content.
If you press Ctrl + Shift + J in Chrome, you will see information about the blocked content and the reason for this.
In this article, we explored some of the best-proven methods to solve the issue caused by your browser not allowing you to use/show iFrames.
Make sure to follow these steps closely to sort out the iFrame not working in Chrome issue.
You can also read our guide on fixing This content cannot be displayed in a frame error which addresses the issue on Internet Explorer.
Feel free to share your experience with us by using the comments section below.