Sam
Sam

Reputation: 822

Chrome extension's chrome.history not synced across devices?

Trying to write a chrome extension using the chrome.history api. I'm seeing the history reported by chrome.history doesn't contain links visited on other devices (although those links do appear in the chrome://history page on the same device).

Is there an alternative to chrome.history I could use? Is there something else than an extension I could build that could access the full cross device history?

Or is there a reason for the discrepancy between chrome://history and chrome.history?

My end goal would be to highlight links that have been visited cross devices on current pages.

Thanks for any help!

Upvotes: 3

Views: 974

Answers (1)

Kitanga Nday
Kitanga Nday

Reputation: 3565

You can check out this answer on Super User which

  • Reset Sync by going to the Google Dashboard.
  • Log out of Chrome on all your devices (PC, Mac, smartphone, etc)
  • Quit Chrome (kill Chrome process if necessary)
  • Run Chrome again and you should be asked to sign in to your account.
  • Once all accounts are signed in, the history should sync across all devices

This will re-sync all your devices.

By the way, extensions usually are synced to all devices if users enable the feature, and this means that your app will still show the visited links since it will have access to the device it's installed on's history.

As for the synced data, not event the Chrome browser itself can highlight the data as visited. Google.com usually highlights visited sites, but I just checked my history and the sites I visited on other sites aren't showing.

To solve your issue, you can have users create Premium accounts that gives them access to cross browser link marking. This of course has to be implemented by you.

Upvotes: 1

Related Questions