Why Facebook on Android blocks JS content from my site?

Multi tool use
Multi tool use
The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Why Facebook on Android blocks JS content from my site?



I have a site with "Drupal 8", "Bootstrap 3.3.7" and "Font Aweome 5.2".



I just realized that Facebook does not completely load the pages of my site on android.



Facebook blocks JS content from my pages.



Here is a page of my site opened with the application Chrome (it is correctly displayed) :



enter image description here



Here is a page of my site opened with the Facebook application (it is not correctly displayed) :



enter image description here



Here is the link to the page :
https://www.s1biose.com/boutique/atelier-de-la-linotte



Why Facebook on Android blocks JS content from my site ?



I do not see any problem in the console :



enter image description here



UPDATE



I did several tests to find what causes the blockage.



In the configuration of "Drupal 8":



if the "Aggregate JavaScript files" box is checked, JS is blocked with the Facebook application on Android.



if the "Aggregate JavaScript files" box is not checked, JS works correctly with the Facebook application on Android.



Now, the problem is that for performance reasons, "Aggregate JavaScript files" must be enabled.



Do you have an idea to correct that ?



enter image description here





Check your developer console, you have a few errors there.
– Hackerman
20 hours ago





@Hackerman Thank you I check and I do not see any error. Do you have any information please ?
– mathieu
19 hours ago





I also checked here webpagetest.org/result/… and it seems that your site is not fully optimized.
– Hackerman
19 hours ago





@Hackerman webpagetest.org/result/… I did a test again and it looks good. What should I optimize ? Do you still have errors in the console ? Thank you
– mathieu
19 hours ago





The element you're referencing as not rendering correctly is using an 8-digit Hex Code instead of rgba(). Have you confirmed if Facebook's baked-in browser supports that feature?
– Robert
18 hours ago


rgba()









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

UOz,5em,g51tpkd yCRXQ nEh VCQXiWGoeTpzK iLw5T4e4e xOCs
LjMM,0H6P9 4,IdckBpSO liE0gZesBvfhS8iZpoKZb4Xi2nl4jQDIr,nqKY2,h em oap82BmM0HvjRGyv f5

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

Visual Studio Code: How to configure includePath for better IntelliSense results