Last active
May 22, 2024 11:10
-
-
Save RebeccaWhit3/50a413c7f1e2936209139460753481ac to your computer and use it in GitHub Desktop.
Google Search JS Notes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Google Search JS Notes | |
google.y.first.push(function() { | |
google.loadAll(['aa', 'abd', 'async', 'dvl', 'erh', 'foot', 'fpe', 'ifl', 'ipv6', 'lu', 'm', 'sf', 'spch', 'vm', 'wft'].concat(google.xjsrm || [])); | |
(function() { | |
(function() { | |
if (!document.cookie.match(/GZ=Z=[0,1]/) && !google.gz) { | |
document.cookie = "GZ=Z=0"; | |
google.gz = 1; | |
var a = document.createElement("iframe"); | |
a.src = "/compressiontest/gzip.html"; | |
a.style.display = "none"; | |
(document.getElementById("xjsd") || document.body).appendChild(a) | |
} | |
; | |
} | |
).call(this); | |
})(); | |
if (google.med) { | |
google.med('init'); | |
google.initHistory(); | |
google.med('history'); | |
} | |
}); | |
if (google.j && google.j.en && google.j.xi) { | |
window.setTimeout(google.j.xi, 0); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment