Skip to content

Instantly share code, notes, and snippets.

@nicmart
Created May 9, 2014 10:55
Show Gist options
  • Save nicmart/94aa30f10c42ca47f004 to your computer and use it in GitHub Desktop.
Save nicmart/94aa30f10c42ca47f004 to your computer and use it in GitHub Desktop.
Extension client page test
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>HTML5 basic skeleton</title>
<script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<style type="text/css">
header, section, footer, aside, nav, article, figure, audio, video, canvas { display:block; }
</style>
<link href='http://ns-dv-lamp-52.dxi.eu/ecn-frontend/css/bootstrap.min.css' type='text/css' rel='stylesheet'/>
</head>
<body>
<script>
(function(g,d,id){
g.DXIExtension = g.DXIExtension || [];
g.DXIExtension.push({
"appKey" : "zgvjgNsBKV443Hn1hlx5PM0baGxoJJG8Jc2HAbDvkGw",
"apiHost" : "http://ns-dv-lamp-52.dxi.eu/ecn-frontend"
});
var s = d.createElement('script') , n = d.getElementsByTagName('script')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://ns-dv-lamp-52.dxi.eu/ecn-frontend/js/extension/dist/extension.js';
!d.getElementById(id) ? n.parentNode.insertBefore(s,n):false;
}) (this,document);
</script>
<h1>Call me back!</h1>
<div class="DXI-Extension" data-extension-key="SVJNu1LwsNoh6xk7k_EpR66ktwtaetEQ1qtP6cGFhpY" data-extension-action="requestCallback"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment