PageSourceSearch

https://www.bgcgh.ca/wp-content/plugins/wp-google-maps/js/v8/compatibility.js?ver=10.0.09+pro-10.0.07

js bgcgh.ca collected 2026-10-06 18:38:49 UTC 821 bytes, 41 lines download raw bytes

1/**
2 * @namespace WPGMZA
3 * @module Compatibility
4 * @requires WPGMZA
5 */
6jQuery(function($) {
7	
8	/**
9	 * Reverse compatibility module
10	 *
11	 * @class WPGMZA.Compatibility
12	 * @constructor WPGMZA.Compatibility
13	 * @memberof WPGMZA
14	 */
15	WPGMZA.Compatibility = function()
16	{
17		this.preventDocumentWriteGoogleMapsAPI();
18	}
19	
20	/**
21	 * Prevents document.write from outputting Google Maps API script tag
22	 *
23	 * @method
24	 * @memberof WPGMZA.Compatibility
25	 */
26	WPGMZA.Compatibility.prototype.preventDocumentWriteGoogleMapsAPI = function()
27	{
28		var old = document.write;
29		
30		document.write = function(content)
31		{
32			if(content.match && content.match(/maps\.google/))
33				return;
34			
35			old.call(document, content);
36		}
37	}
38	
39	WPGMZA.compatiblityModule = new WPGMZA.Compatibility();
40	
41});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.