Tracking referrals (referringVisitId) through tabs

124 views
Skip to first unread message

Thomas Dimson

unread,
Jan 30, 2011, 11:25:59 PM1/30/11
to Chromium-extensions
Hello,

I'm playing around with a chrome extension which needs to extract a
(referrerURL, destinationURL) pair at every page load. Using the
history API (onVisited+getVisits), I am able to get this for links
that are followed directly but not for those that open in a new tab
(middle clicked). The referringVisitId on VisitItem objects that are
created in a new tab are all 0. Is there another way to track this
that will provide the information?

In the experimental APIs, webNavigation seems to be able to handle
this use case but I'd like to avoid experimental for now.

-Thomas
Reply all
Reply to author
Forward
0 new messages