Skip to content

Instantly share code, notes, and snippets.

@clarif
clarif / webclient.js
Created February 19, 2013 10:26
Script used for the IPv6 Observatory study to monitor IPv6 on web clients.
/*
* IPv6 observatory - Monitoring the worldwide deployment of IPv6
* http://v6demon.ipv6observatory.eu - http://www.ipv6observatory.eu
*
* This script aims at measuring the actual deployemnt of IPv6 and is placed on various
* websites to check the IPv6 connectivity of web browsers.
*
* How its works: the script tries to access a remote image through 3 distincts URLs (IPv4 only,
* IPv6 only and IPv4/IPv6). The script is executed only once daily for each web client on a given website.
*
@clarif
clarif / gist:4984649
Created February 19, 2013 10:20
Example of JS code to be added on a webpage to monitor IPv4 vs IPv6 and report data on the IPv6 Observatory's V6DEMON tool.
<script type='text/javascript'
src='http://v6demon.ipv6observatory.eu/webclients.js?sid=ABCDEFGH'>
</script>
@clarif
clarif / gist:4978151
Last active December 13, 2015 21:38
Example of HTML code to export a figure from the IPv6 Observatory monitoring tool.
<iframe src="http://widgets.ipv6observatory.eu/figures/evolution/web/eu_27?c=37"
frameborder="0" marginwidth="0" marginheight="0"
width="825" height="410" style="margin-left: -10px;">
</iframe>