mirror of
https://github.com/moonlight-stream/moonlight-chrome.git
synced 2026-04-23 08:27:09 +00:00
Uniqueid should be a 64-bit hex number, not a UUID
This commit is contained in:
@@ -5,6 +5,13 @@ function guuid() {
|
||||
});
|
||||
}
|
||||
|
||||
function uniqueid() {
|
||||
return 'xxxxxxxxxxxxxxxx'.replace(/[x]/g, function(c) {
|
||||
var r = Math.random()*16|0;
|
||||
return r.toString(16);
|
||||
});
|
||||
}
|
||||
|
||||
String.prototype.toHex = function() {
|
||||
var hex = '';
|
||||
for(var i = 0; i < this.length; i++) {
|
||||
|
||||
Reference in New Issue
Block a user