function isUrlGoogle(url) {
  const match = /\/\/([^\/]+)\//.exec(url);
  if (!match) {
    return false;
  }
  const origin = match[1];
  return origin.endsWith('google.com');
}
Detect the URL origin is *.google.com.
@param {string} url The target URL.
@return {boolean} Whether the above is true.