Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

tinygame.xyz

Package Overview
Dependencies
Maintainers
1
Versions
159
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

tinygame.xyz - npm Package Compare versions

Comparing version 1.6.82 to 1.6.83

2

package.json
{
"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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc