Skip to content
Snippets Groups Projects
Commit 1601e082 authored by Kevin Abel's avatar Kevin Abel
Browse files

Blacklist all google.com servers from message event handling

Google search tool appears to be communicating with the search page via
multiple domains. Prevent that communication from triggering searches
with Google data.
parent 7d92c49f
No related branches found
No related tags found
No related merge requests found
......@@ -257,7 +257,7 @@
$tab.children().removeClass(selCls).eq(state).addClass(selCls);
},
googleOrigin = /^https?:\/\/www\.google\.com$/,
googleOrigin = /^https?:\/\/.*\.google\.com$/,
isValidOrigin = function(origin) {
if (googleOrigin.test(origin)) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment