Fix page monitoring to include full request URL

The monitoring process for the time spent on a page logs only a partial
URL. This is fixed by using location.href when submitting the background
request.