-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
35 lines (28 loc) · 1.1 KB
/
index.html
File metadata and controls
35 lines (28 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<html>
<head>
<title>Index</title>
<script type="text/javascript" src="//test-ads.klickpush.com:3030/preview/2.js"></script>
</head>
<body>
Take Survey by clicking <a href="/survey.html">here</a>
<div id="kpID" class="wrapper-300x250"> <a href="http://klickpush.github.io"><img src="http://placehold.it/300x250"></a> </div>
<!-- <script src="//test.klickpush.com:3030/js/2/main.js"></script> -->
<span id="kp_user_id"></span>
<script type="text/javascript">
// function drawUserIdOnPage(user_id){
// var span = document.getElementById('kp_user_id')
// span.innerHTML = user_id;
// }
// var KpUserId = {}
// KpUserId.easyXDM = easyXDM.noConflict('KpUserId');
// var socket = new KpUserId.easyXDM.Socket({
// remote: "http://test.klickpush.com:3000/cookie_view",
// onMessage: function(message, origin){
// console.log("Parent Received message", message, "from origin", origin);
// drawUserIdOnPage(message);
// }
// });
// socket.postMessage("Hello, World!");
</script>
</body>
</html>