Skip to content

Instantly share code, notes, and snippets.

@ahmednuaman
Last active December 14, 2015 16:29
Show Gist options
  • Select an option

  • Save ahmednuaman/5115447 to your computer and use it in GitHub Desktop.

Select an option

Save ahmednuaman/5115447 to your computer and use it in GitHub Desktop.
Samsung 2012 wrapper
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title></title>
<script src="$MANAGER_WIDGET/Common/af/2.0.0/loader.js"></script>
<script src="$MANAGER_WIDGET/Common/API/Widget.js"></script>
<style>
html,
body {
background: #ffffff;
}
</style>
</head>
<body onload="init()">
<script>
var widgetAPI = new Common.API.Widget();
function init () {
widgetAPI.sendReadyEvent();
window.location = 'http://' + '?x=' + (new Date()).getTime();
}
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment