mozilla / contain-facebook

Facebook Container isolates your Facebook activity from the rest of your web activity in order to prevent Facebook from tracking you outside of the Facebook website via third party cookies.
Mozilla Public License 2.0
975 stars 176 forks source link

Facebook Container blocks RollupJS plugins from loading #799

Closed jasperf closed 3 years ago

jasperf commented 3 years ago

Actual behavior

It does not only block social media (Facebook/Instagram and Twitter modules' content) but it also blocks our RollupJS modules from loading in our Laravel VueJS App.

Expected behavior

See the rollup js modules load.. but they do not until I turn of the Firefox Facebook Container.

Steps to reproduce

  1. turn on firefox facebook container
  2. open our app
  3. see rollupjs modules not loading

Notes

This app is coming out of beta soon but not yet. Would love to figure out how it can block these rollupjs plugins with js and vue from loading.

jasperf commented 3 years ago

Oddly enough on turning off and then on again it did allow loading of the rollup modules again. Only blocked items seem to be

10:30:26.219 Loading failed for the <script> with source “https://site.com/js/editor.js?id=78150386828f1a22c988”. editor:1663:1
10:30:26.468 [bugsnag] Loaded! editor.js:2:614734
10:30:26.667 Loading failed for the <script> with source “https://connect.facebook.net/en_US/sdk.js”. editor:1:1
10:30:26.667 Loading failed for the <script> with source “https://platform.instagram.com/en_US/embeds.js”. editor:1691:1
10:30:26.668 Loading failed for the <script> with source “https://platform.linkedin.com/in.js”. editor:1693:1

And that may be DuckDuck Go.

jasperf commented 3 years ago

Well, it seems to be related to a possible link preload issue, not Facebook Container or DuckDuck Go in this rollupJS modules case. Will close the issue for now.