<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<meta name="description" content="Garena Account Center">
<link href="/css/sso.css?v=0.54" rel="stylesheet" type="text/css"/>
<title>Garena Account Center</title>
</head>
<body>
<script src="/js/jquery-1.10.2.min.js" type="text/javascript"></script>
<script src="/js/crypto.js?v=0.60" type="text/javascript"></script>
<script src="/js/countries.js?v=0.30" type="text/javascript"></script>
<script src="/js/locales.js?v=0.03" type="text/javascript"></script>
<script src="/i18n/sso/en.js?v=0.58" type="text/javascript"></script>
<!--for google web login-->
<script src="https://apis.google.com/js/platform.js"></script>
<script src="https://www.google.com/recaptcha/api.js?render=explicit" async defer></script>
<script src="/js/js.cookie.js"></script>
<!-- sso website -->
<script src="/js/sso/settings.js" type="text/javascript"></script>
<script src="/js/sso/utils.js" type="text/javascript"></script>
<script src="/js/sso/captcha.js" type="text/javascript"></script>
<script src="/js/sso/content.js" type="text/javascript"></script>
<script src="/js/sso/register.js" type="text/javascript"></script>
<script src="/js/sso.js?v=0.81" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
SSO_SERVER.init({
'test': false,
'static_root': '/',
'language': 'en',
'country': 'PH',
'mode': 'sso_login',
'app_id': 10100,
'app_name': 'Garena Account Center',
'app_icon': '',
'login': false,
'session_cookie_name': 'sso_key',
'session_cookie_domain': 'garena.com',
'platform': 1,
'response_type': '',
'state': '',
'show_platforms': 0,
'line_client_id': '',
'line_state': '',
'vk_client_id': 0,
'google_client_id': '',
'huawei_app_id': '',
'fb_app_id': 0,
'fb_scope': '',
'gas_download': false,
'':''
});
/* resize cross-origin iframe */
// browser compatibility: get method for event
// addEventListener(FF, Webkit, Opera, IE9+) and attachEvent(IE5-8)
var myEventMethod = window.addEventListener ? "addEventListener" : "attachEvent";
// create event listener
var myEventListener = window[myEventMethod];
// browser compatibility: attach event uses onmessage
var myEventMessage = myEventMethod == "attachEvent" ? "onmessage" : "message";
// register callback function on incoming message
myEventListener(myEventMessage, function (e) {
// verify the event origin, now only support ccms
if (e.origin != 'https://contentgarena-a.akamaihd.net') {
return;
}
// we will get a string (better browser support) and validate
// if it is an int - set the height of the iframe #my-iframe-id
if (e.data === parseInt(e.data)) {
var iframe = document.getElementsByClassName('sso_dialog_frame')[0];
$(iframe).height(e.data + "px");
}
}, false);
});
</script>
</body>
</html>