stereobooster / react-snap

👻 Zero-configuration framework-agnostic static prerendering for SPAs
MIT License
5.06k stars 394 forks source link

Bug in render Customer Chat Plugin Messenger #303

Closed Marcosul closed 5 years ago

Marcosul commented 5 years ago

Hello! I use the Customer Chat Plugin on my website, but after I installed the react-snap, stop working.

From what I understand, the react-snap ran its crawler over the Messenger iframe where it generated the conflict.

How to make the mouse react do not run your crawler in the Customer Chat Plugin and just copy the script?

Follows problem playback

- Messenger script in public/index.hml (work) image

- Code generated by react-snap in build/index.hmtl (not work)

image

image

image

stereobooster commented 5 years ago

Depends on what you want to achieve. The easiest way is to

"reactSnap": {
  "skipThirdPartyRequests": true
}
Marcosul commented 5 years ago

Thank you!!

But where do I enter this setting?

Em Ter, 27 de nov de 2018 14:35, stereobooster notifications@github.com escreveu:

Depends on what you want to achieve. The easiest way is to https://github.com/stereobooster/react-snap#third-party-requests-google-analytics-mapbox-etc

"reactSnap": { "skipThirdPartyRequests": true }

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stereobooster/react-snap/issues/303#issuecomment-442125975, or mute the thread https://github.com/notifications/unsubscribe-auth/AEfuImkmHkbTRFWTgHMMNg8sviVkHISLks5uzWnCgaJpZM4Y1r_4 .

stereobooster commented 5 years ago

in package.json

Marcosul commented 5 years ago

It worked!!!

Thank you very much!!