Jump to content

Prevent to Load Google Maps Scripts in Unused Listings


Michael Pusch

Recommended Posts

I'm using GeoMaps Addon for some categories and wondering, how it is possible to prevent the loading from Google scripts in listings, that don't use the GeoMaps Addon?

 

There are some scripts loading in every listing:

 

maps.googleapis.com/maps/api/js?language=de&libraries=places&callback=jrmapinit (73KB)

maps.googleapis.com/maps-api-v3/api/js/30/1a/intl/de_ALL/common.js (114KB)

maps.googleapis.com/maps-api-v3/api/js/30/1a/intl/de_ALL/util.js (127KB)

maps.googleapis.com/maps-api-v3/api/js/30/1a/intl/de_ALL/stats.js (3,5KB)

 

That are more than 300 KB data on every listing page, loading from google.

 

Is it possible, evtually as a future request, to tell jreviews loading scripts only in listing types where they are used?

 

 

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...