/ ‘grepolis.user.js’

This commit is contained in:
Jan Bader 2014-06-04 11:22:05 +02:00
parent 853c002181
commit cd0df5087a

View File

@ -10,7 +10,7 @@
// //
// @match http://*.grepolis.com/game/* // @match http://*.grepolis.com/game/*
// //
// @version 1.0.18 // @version 1.0.19
// @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js // @updateURL http://git.javil.eu/jan/userscripts/raw/master/grepolis.user.js
// ==/UserScript== // ==/UserScript==
@ -19,7 +19,8 @@
console.log = function() console.log = function()
{ {
// Timestamp to prepend // Timestamp to prepend
var timestamp = new Date().toJSON(); var date = new Date();
var timestamp = new Date(date.getTime() + (date.getTimezoneOffset() * 3600)).toJSON();
if (arguments.length) { if (arguments.length) {
// True array copy so we can call .splice() // True array copy so we can call .splice()