Skip to content

Instantly share code, notes, and snippets.

@RebeccaWhit3
Last active May 22, 2024 11:10
Show Gist options
  • Save RebeccaWhit3/50a413c7f1e2936209139460753481ac to your computer and use it in GitHub Desktop.
Save RebeccaWhit3/50a413c7f1e2936209139460753481ac to your computer and use it in GitHub Desktop.
Google Search JS Notes
// 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