View Full Version : Mixed Content Blocker?
habboubih83
11-30-2017, 06:58 PM
Hello,
I've implemented the SSL to my forum. However, whenever there is an external image or video (Mixed Content), I get a browser error. Is there any way to block external images or embedded videos if they don't have secured connection? I noticed that there is an add-on for that but it's only for vb 4. Is there a vb 5 version?
BulliM
12-01-2017, 11:16 PM
I solved that by setting Replacement Variables for http:// (replace to https://) in AdminCP. But that causes errors on links to websites, who doesn't support https.
This could also help you: https://www.vbulletin.com/forum/articles/4361080-converting-your-forum-to-https
noypiscripter
12-01-2017, 11:19 PM
<a href="https://vbmods.rocks/forum/vbulletin-5-modifications/vbulletin-5-miscellaneous-modifications/4207-block-mixed-content-prevent-ssl-breaking" target="_blank">https://vbmods.rocks/forum/vbulletin...t-ssl-breaking</a>
The HTTP Content-Security-Policy (CSP) block-all-mixed-content directive prevents loading any assets using HTTP when the page is loaded using HTTPS.
habboubih83
12-02-2017, 11:02 PM
https://vbmods.rocks/forum/vbulletin-5-modifications/vbulletin-5-miscellaneous-modifications/4207-block-mixed-content-prevent-ssl-breaking
The HTTP Content-Security-Policy (CSP) block-all-mixed-content directive prevents loading any assets using HTTP when the page is loaded using HTTPS.
I can't see the contents of the post you shared. It says I have to post anything. I already did! Can you please post the hidden contents here. Thanks
Add the following to your headinclude template:
<meta http-equiv="Content-Security-Policy" content="block-all-mixed-content">
This will probably only work in Chrome, FireFox and Opera though.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.