WebSite X5Help Center

 
Alan Bennett
Alan Bennett
User

HTML box displays OK local but does not when uploaded  en

Autor: Alan Bennett
Visited 1632, Followers 1, Udostępniony 0  

I pasted my twitter feed code that i made on the twitter website into a HTML box in my website, its fine locally but wont appear once uploaded

Posted on the
3 ODPOWIEDZI - 1 PRAWIDłOWA ODPOWIEDź
Paul M.
Paul M.
Moderator

Hello Alan,

Is this your site?

If so, then the Twitter feed appears for me (as you can see), but only with tracking protection switched off.  This behaviour isn't related to WebSite X5 in any way.

It may be that there is something in your Twitter feed code which triggers the privacy controls in modern browsers.

However, I also notice that there are a lot of warnings in the browser console about insecure content on your website.  This will almost certainly be because your site doesn't appear to have an SSL certificate installed.

Attempting to serve secure content (e.g. Twitter feed from https://) via an insecure protocol (i.e. http://) will often be problematic, and increasingly so as the web becomes more and more security conscious.

Looking at the source code of your page, however, I think you may have added the code incorrectly.

If you can provide the source of the code you are using, then we can verify whether or not it has been added properly, thus ruling this out.

Kind regards,

Paul

Search the WebSite X5 Help Center

Czytaj więcej
Posted on the from Paul M.
Alan Bennett
Alan Bennett
User
Autor

Paul

Thakyou for taking the time to look at my problem.

Here is the code from publis.twitter.com;

<a class="twitter-timeline" href="https://twitter.com/Cyclewight?ref_src=twsrc%5Etfw">Tweets by Cyclewight</a> <script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>

Czytaj więcej
Posted on the from Alan Bennett
Paul M.
Paul M.
Moderator

I've investigated this thoroughly, Alan.

Firstly, I can confirm that the issue is browser dependent.  WebSite X5 isn't at fault in any way here, and unfortunately there is nothing you can do within WebSite X5 which will make any positive difference.

The problem is that certain modern browsers (notably Firefox at the time of writing) will reject social media trackers by default.  There are settings within the browsers which allow a user to override these mechanisms, but of course the user has to do this manually, and has to actually want to do it in the first place!

Your existing site displays the embedded Twitter content without issue in Microsoft Edge.

But Firefox's 'Enhanced Tracking Protection' is set to reject embedded tracking content, and will display a warning in the browser as shown below:

In order to be able to view your embedded Twitter feed in such a browser, your visitor would have to click on the 'Manage Protection Settings' button (or similar) to whitelist your site and/or Twitter, etc.

Unfortunately there is very little you can do about this.  Society in general is becoming increasingly aware of security and privacy concerns, and the major web browsers are simply reflecting this.

You can read more about this specific issue here:

https://support.mozilla.org/en-US/kb/trackers-and-scripts-firefox-blocks-enhanced-track

At best you could include a short notice somewhere on your site to advise your visitors that they will have to switch off tracking protection in their browser, if they are using a browser which blocks your Twitter feed by default.

Czytaj więcej
Posted on the from Paul M.