Last active
December 11, 2015 22:39
-
-
Save binux/4671189 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function message(msg) { | |
$('#plexts').append('<div class="plext"><div class="pl_timestamp">'+(new Date()).getHours()+':'+(new Date()).getMinutes()+'</div><div class="pl_content pl_player"><span class="ALIENS">System: </span>'+msg+'</div></div>'); | |
$('#plext_container').scrollTop($('#plext_container')[0].scrollHeight); | |
} | |
google.maps.event.addListener(Z.c().h, 'rightclick', function(event) { | |
message('@'+event.latLng.Ya+', '+event.latLng.Za); | |
}); | |
U.prototype._show = U.prototype.show; | |
U.prototype.show = function(a) { | |
console.log(this, a); | |
message(this.d.a+' @'+this.d.Hb+', '+this.d.Ib); | |
$.get('http://localhost:8888/paste', {content: this.d.a}); | |
this._show(a); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment