stereobooster / react-snap

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

Disable Crawling External JS such as Adsense and Analytics #565

Open dimaslanjaka opened 1 year ago

dimaslanjaka commented 1 year ago

Bug Report

Current Behavior this library downloading external js such as adsense and google analytics, it always throw failure 403. and adsense never allow downloading the adsbygoogle.js

fadiakkad commented 3 months ago

I've same issue. have you got a solution?

dimaslanjaka commented 3 months ago

I've same issue. have you got a solution?

iam creating my own react static files generator https://github.com/dimaslanjaka/react-prerender-it or when you want to create gh-pages i have sample standalone project https://github.com/dimaslanjaka/react-gh-pages

fadiakkad commented 3 months ago

have you seen this in react snap ?

Third-party requests: Google Analytics, Mapbox etc. You can block all third-party requests with the following config

"skipThirdPartyRequests": true