Skip to content
This repository has been archived by the owner on May 16, 2018. It is now read-only.

Commit

Permalink
change sync time with google url to google 204 page
Browse files Browse the repository at this point in the history
  • Loading branch information
Sneezry committed May 24, 2015
1 parent 5d298ff commit 15bb233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion javascript/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -847,7 +847,7 @@ function showNotification(message) {

function syncTimeWithGoogle(showStatusBox) {
var xhr = new XMLHttpRequest();
xhr.open('HEAD', 'https://www.google.com/');
xhr.open('HEAD', 'https://www.google.com/generate_204');
var xhrAbort = setTimeout(function () {
xhr.abort();
if (showStatusBox) {
Expand Down

0 comments on commit 15bb233

Please sign in to comment.