tinygame.xyz
Advanced tools
Comparing version 1.6.82 to 1.6.83
{ | ||
"name": "tinygame.xyz", | ||
"version": "1.6.82", | ||
"version": "1.6.83", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "dependencies": {}, |
@@ -12,22 +12,39 @@ function tarHref(type){ | ||
$(document).ready(function () { | ||
function() game_content() | ||
{ | ||
var ttData; | ||
var tui_site_info; | ||
var current_image; | ||
$.ajaxSetup({async : false}); | ||
$.post("tsl.html", {"ts":"ts"}, function(data, state){current_length = parseInt(data);}); | ||
var id = parseInt(getQueryString("ts")); | ||
if ((id <= 0) || (id >= current_length)) | ||
{ | ||
id = current_length - 1; | ||
location.href = "http://m.tinygame.xyz/game/index.html?ts=" + id; | ||
} | ||
$.ajaxSetup({async:false}); | ||
$.post("tsa.html", {"tsa":"tsa"}, function (data, state) {ttData = data;}); | ||
$.post("tsinfo.html", {"id":id}, function(data, state){tui_site_info = data;}); | ||
$.ajaxSetup({async : true}); | ||
$('title').html(tui_site_info.title); | ||
$.ajaxSetup({async:true}); | ||
$('title').html(tui_site_info.title); | ||
$("#tuiImg").attr("src", tui_site_info.image); | ||
var html; | ||
html = '<div id="top_ads">'; | ||
html += '<a href="' + ttData.url + '" target="_parent"><img src="' + ttData.image + '" /></a>'; | ||
html += '</div>'; | ||
$('body').prepend(html); | ||
$('#top_ads').css({ | ||
"width":"100%", | ||
"text-align":"center", | ||
"display":"block" | ||
}); | ||
$('#top_ads img').css({ | ||
"width":"95%", | ||
"text-align":"center" | ||
}); | ||
html = '<iframe name="tuiSite" id="tuiSite" src="'; | ||
html += tui_site_info.url; | ||
hmtl += '" allowtransparency="true" style="background-color=transparent" ></iframe>'; | ||
$('body').append(html); | ||
$("#tuiSite").attr({ | ||
"src":tui_site_info.url, | ||
"align":"middle", | ||
@@ -40,4 +57,30 @@ "marginwidth":0, | ||
"scrolling":"auto" | ||
}); | ||
$('body').css({ | ||
"text-align":"left", | ||
"margin":0, | ||
"padding":0 | ||
}); | ||
$('img').css("border", 0); | ||
} | ||
$(document).ready(function () { | ||
var current_image; | ||
$.ajaxSetup({async : false}); | ||
$.post("tsl.html", {"ts":"ts"}, function(data, state){current_length = parseInt(data);}); | ||
$.ajaxSetup({async : true}); | ||
var id = parseInt(getQueryString("ts")); | ||
if ((id <= 0) || (id >= current_length)) | ||
{ | ||
id = current_length - 1; | ||
location.href = "http://m.tinygame.xyz/game/index.html?ts=" + id; | ||
} else { | ||
game_content(); | ||
} | ||
}); |
@@ -12,3 +12,3 @@ function mm_ads() { | ||
$('body').prepend(html); | ||
$('body').css({ | ||
@@ -32,6 +32,7 @@ "text-align":"left", | ||
}); | ||
} | ||
$(document).ready(function () { | ||
mm_ads(); | ||
//mm_ads(); | ||
}); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
204333
2628