You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

41 lines
963 B

<!DOCTYPE html>
<html>
<head>
<title>socialCountBadge - demo</title>
<link rel="stylesheet" href="socialCountBadge.css">
</head>
<body>
<div id="socialCountBadge"></div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
<script src="socialCountBadge.js"></script>
<script>
var badges = {
hn: {
link: "https://news.ycombinator.com/item?id=16069200",
url:"https://hacker-news.firebaseio.com/v0/item/16069200.json",
callback: parseHN,
img: "img/hackernews.png",
count: null
},
reddit: {
link: "https://www.reddit.com/r/Python/comments/7o23lb/hacking_wifi_to_inject_cryptocurrency_miner_to/",
url:"https://www.reddit.com/r/Python/comments/7o23lb/hacking_wifi_to_inject_cryptocurrency_miner_to.json",
callback: parseReddit,
img: "img/reddit.png",
count: null
}
};
socialCountBadge_init();
</script>
</body>
</html>