We're calling on all EU-based Mozillians with iOS or iPadOS devices to help us monitor Apple’s new browser choice screens. Join the effort to hold Big Tech to account!

This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Rohkem teavet

How do stop firefox from blocking mixed active content, e.g., a youtube posting on a discussion board?

more options

I go a chat board regularly on which people embed Youtube videos in a message from time to time. I used to be able to see them when I opened such a message. It would show exactly what you would see if you saw the video on Youtube -- a picture from the video and a button to click on to begin seeing it. Now however I can no longer see them. How can I fix this?

By the way, in order to post on these websites (www.voy.com), you must delete the 's' from 'https' from the embed code Youtube provides.

I go a chat board regularly on which people embed Youtube videos in a message from time to time. I used to be able to see them when I opened such a message. It would show exactly what you would see if you saw the video on Youtube -- a picture from the video and a button to click on to begin seeing it. Now however I can no longer see them. How can I fix this? By the way, in order to post on these websites (www.voy.com), you must delete the 's' from 'https' from the embed code Youtube provides.

All Replies (1)

more options

Well... yes you can globally disable protection against mixed active content, but I'm reluctant to describe that because it can't be limited to particular sites.

Workarounds:

(1) You can unblock mixed content on a page-by-page basis, as you probably know. This article has the details: Mixed content blocking in Firefox.

(2) When a framed page is not loading because it's blocked, you can right-click it, expand This Frame on the context menu, and either load the framed page in the same tab or in a new tab.

(3) You can "hack" the page to modify the way the frame is embedded. One way is using a bookmarklet -- a snippet of script saved as a bookmark.

Here's how you would create that:

Select and copy (Ctrl+c) the following very long line of code:

javascript:var ifrs = document.querySelectorAll('iframe[src*="youtube.com"]:not([src^="https://"])'); for(var i=0; i<ifrs.length; i++) ifrs[i].src = ifrs[i].src.replace('http://', 'https://'); void 0;

Right-click a spot on the Bookmarks Toolbar or Bookmarks Menu where you would like to add the button, and choose New Bookmark. This should open a small dialog.

Click in Location and paste (Ctrl+v) the script code.

Click in Name and assign something convenient like FixYT. Then click the Add button to save the bookmarklet.

Then you can click it to replace the insecure link with a secure one. If the video has already started, you'll have to start it again after using the bookmarklet.

Note: I didn't test this on voy.com but have tested it on other sites. If there is a page where it doesn't work, please let me know the URL.

Can you live with any of those?