SuperSonic
//Window Configuration
window = window || {};
window.sonicVersionByConfig = {
latestVersion: '1.3.10',
defaultVersion: '1.5.0'
};
//Excluding versions by SDK version. else - will take the default version
//Use window.sonicVersionByConfig.latestVersion for latest version
window.sonicVersionByConfig.android = {
'SDK5.0': '1.0.1',
'SDK5.1': '1.0.2',
'SDK5.11': sonicVersionByConfig.latestVersion,
'SDK5.14': sonicVersionByConfig.latestVersion,
'SDK5.16': sonicVersionByConfig.latestVersion
};
window.sonicVersionByConfig.ios = {
'SDK5.0': '1.0.1',
'SDK5.1': '1.0.2'
};
window.SuperSonicGlobalConfig = {
mobileSDKSettings : {
deviceOs : '',
SDKVersion : '',
debug : 0,
protocol : 'http:', //will be replaced by either default or secured, according to SDK
defaultProtocol: 'http:',
securedProtocol : 'https:',
cdn: 'supersonicads-a.akamaihd.net',
scdn: 'supersonicads-a.akamaihd.net',
domain : "www.supersonicads.com"
}
};
//prefetch fonts for offerwall or any other product
WebFontConfig = {
google: {
families: ['Roboto:300,400,500,600,700,800,900,900italic']
}
};
//Start Utils
function getQuerystring (key, default_, url){
url = typeof url === 'undefined' ? window.location.href : url;
key = key.replace(/[[]/,"\[").replace(/[]]/,"\]");
var regex = new RegExp("[\?&]"+key+"=([^]*)");
var qs = regex.exec(url);
return (qs && qs[1]) || default_;
}
function getQueryKeys (keys){
var res = {};
for(var i=0; i
超音速 //Window Configuration
window = window || {};
window.sonicVersionByConfig = {
latestVersion: '1.3.10',
defaultVersion: '1.5.0'
};
//Excluding versions by SDK version. else - will take the default version
//Use window.sonicVersionByConfig.latestVersion for latest version
window.sonicVersionByConfig.android = {
'SDK5.0': '1.0.1',
'SDK5.1': '1.0.2',
'SDK5.11': sonicVersionByConfig.latestVersion,
'SDK5.14': sonicVersionByConfig.latestVersion,
'SDK5.16': sonicVersionByConfig.latestVersion
};
window.sonicVersionByConfig.ios = {
'SDK5.0': '1.0.1',
'SDK5.1': '1.0.2'
};
window.SuperSonicGlobalConfig = {
mobileSDKSettings : {
deviceOs : '',
SDKVersion : '',
debug : 0,
protocol : 'http:', //will be replaced by either default or secured, according to SDK
defaultProtocol: 'http:',
securedProtocol : 'https:',
cdn: 'supersonicads-a.akamaihd.net',
scdn: 'supersonicads-a.akamaihd.net',
domain : "www.supersonicads.com"
}
};
//prefetch fonts for offerwall or any other product
WebFontConfig = {
google: {
families: ['Roboto:300,400,500,600,700,800,900,900italic']
}
};
//Start Utils
function getQuerystring (key, default_, url){
url = typeof url === 'undefined' ? window.location.href : url;
key = key.replace(/[[]/,"\[").replace(/[]]/,"\]");
var regex = new RegExp("[\?&]"+key+"=([^]*)");
var qs = regex.exec(url);
return (qs && qs[1]) || default_;
}
function getQueryKeys (keys){
var res = {};
for(var i=0; i
正在翻譯中..