I hereby claim:
- I am bluesmoon on github.
- I am bluesmoon (https://keybase.io/bluesmoon) on keybase.
- I have a public key ASDj8_i2NS7sgcu7CsOe_zFBFGvFNpbT7WT5VaADDDSreAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Moved to https://developer.akamai.com/tools/boomerang#mPulseNon-BlockingLoaderSnippet
This is a loader snippet for boomerang (https://github.com/soasta/boomerang) that doesn't use the iframe except for legacy browsers, and does not use document.write
If an iframe is required, it is injected into the page immediately or soon after the script, so you may place the script wherever in the HTML you would like the iframe to show up.
For IE6 & 7, we will fallback to a same-window iframeless dynamic script node. This does mean that the script will be a Single Point of Failure for these two browsers, but given the low combined market share of these two browsers, the choice is between not getting any beacons for these browsers or potentially being a SPoF for users of these browsers.
You MUST include everything, including the `
<script id="nb-loader-script"> | |
(function(url) { | |
// document.currentScript works on most browsers, but not all | |
var where = document.currentScript || document.getElementById("nb-loader-script"), | |
promoted = false, | |
LOADER_TIMEOUT = 3000, | |
IDPREFIX = "__nb-script"; | |
// function to promote a preload link node to an async script node |
(function(){ | |
if (window.BOOMR && window.BOOMR.version) { return; } | |
var dom,doc,where,iframe = document.createElement("iframe"),win = window; | |
function boomerangSaveLoadTime(e) { | |
win.BOOMR_onload=(e && e.timeStamp) || new Date().getTime(); | |
} | |
if (win.addEventListener) { | |
win.addEventListener("load", boomerangSaveLoadTime, false); | |
} else if (win.attachEvent) { |
{ | |
"$schema": "https://vega.github.io/schema/vega-lite/v5.json", | |
"layer": [ | |
{ | |
"encoding": { | |
"x2": { | |
"field": "t_end" | |
}, | |
"color": { | |
"field": "status", |