Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Update browserscope callback
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsLeenheer committed May 15, 2010
1 parent 9f45f67 commit e29321b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1537,7 +1537,7 @@ <h2>Updated version coming soon!</h2>
(function() {
var _bTestKey = 'agt1YS1wcm9maWxlcnIMCxIEVGVzdBim13UM';
var _bScript = document.createElement('script');
_bScript.src = 'http://www.browserscope.org/user/beacon/' + _bTestKey;
_bScript.src = 'http://www.browserscope.org/user/beacon/' + _bTestKey + '?callback=_bBeaconComplete';
_bScript.setAttribute('async', 'true');
var scripts = document.getElementsByTagName('script');
var lastScript = scripts[scripts.length - 1];
Expand All @@ -1548,7 +1548,7 @@ <h2>Updated version coming soon!</h2>


/* Callback function from browserscope */
function None() {
var _bBeaconComplete = function() {
var parameters = {}

var items = window.location.search.substr(1).split('&');
Expand All @@ -1558,7 +1558,7 @@ <h2>Updated version coming soon!</h2>
if (parameters['continue'] && parameters['source'] && parameters['source'] == 'browserscope') {
window.location = parameters['continue'];
}
}
};



Expand Down

0 comments on commit e29321b

Please sign in to comment.