update loot-link bypass merging from original script

source: https://greasyfork.org/en/scripts/483207-working-loot-link-com-bypasser-includes-all-lootlabs-gg-link-variations/versions
(improved speed)
This commit is contained in:
Amm0ni4 2024-03-03 16:24:10 +01:00
parent 9d8b724192
commit e69c260d2b
3 changed files with 12 additions and 12 deletions

View file

@ -3,7 +3,7 @@
// @namespace Violentmonkey Scripts // @namespace Violentmonkey Scripts
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @version 91.4.3 // @version 91.4.4
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle

View file

@ -3,7 +3,7 @@
// @namespace Violentmonkey Scripts // @namespace Violentmonkey Scripts
// @run-at document-start // @run-at document-start
// @author Amm0ni4 // @author Amm0ni4
// @version 91.4.3 // @version 91.4.4
// @grant GM_setValue // @grant GM_setValue
// @grant GM_getValue // @grant GM_getValue
// @grant GM_addStyle // @grant GM_addStyle
@ -2133,9 +2133,9 @@
} }
} catch (e) { } catch (e) {
console.error(e); console.error(e);
let reportError = confirm(`${e.message}\n${e.stack}\n\nwould you like to report this error?`); let reportError = confirm(`${e.message}\n\nwould you like to report this error?`);
if (reportError) { if (reportError) {
navigator.clipboard.writeText(e.message + '\n' + e.stack); navigator.clipboard.writeText(e.message);
window.location.replace('https://discord.gg/keybypass'); window.location.replace('https://discord.gg/keybypass');
} }
else { else {
@ -2155,11 +2155,11 @@
let server = initData[9]; let server = initData[9];
server = (Number(urid.toString().substr(-5)) % 3) + '.' + server; server = (Number(urid.toString().substr(-5)) % 3) + '.' + server;
let websocket = new WebSocket(`wss://${server}/c?uid=${urid}&cat=${sessionData[0].task_id}&key=${p.KEY}`); let websocket = new WebSocket(`wss://${server}/c?uid=${urid}&cat=54&key=${p.KEY}`);
fetch(sessionData[0].action_pixel_url) fetch(sessionData[0].action_pixel_url)
websocket.onopen = async function (event) { websocket.onopen = async function (event) {
await fetch(`https://${server}/st?uid=${urid}&cat=${sessionData[0].task_id}`, { method: 'POST', }) await fetch(`https://${server}/st?uid=${urid}&cat=54`, { method: 'POST', })
await fetch(`https://${syncer}/td?ac=1&urid=${urid}&&cat=${sessionData[0].task_id}&tid=${p.TID}`) await fetch(`https://${syncer}/td?ac=1&urid=${urid}&&cat=54&tid=${p.TID}`)
}; };
websocket.onmessage = function (event) { websocket.onmessage = function (event) {
if (event.data.startsWith('r:')) { if (event.data.startsWith('r:')) {

View file

@ -38,9 +38,9 @@
} }
} catch (e) { } catch (e) {
console.error(e); console.error(e);
let reportError = confirm(`${e.message}\n${e.stack}\n\nwould you like to report this error?`); let reportError = confirm(`${e.message}\n\nwould you like to report this error?`);
if (reportError) { if (reportError) {
navigator.clipboard.writeText(e.message + '\n' + e.stack); navigator.clipboard.writeText(e.message);
window.location.replace('https://discord.gg/keybypass'); window.location.replace('https://discord.gg/keybypass');
} }
else { else {
@ -60,11 +60,11 @@
let server = initData[9]; let server = initData[9];
server = (Number(urid.toString().substr(-5)) % 3) + '.' + server; server = (Number(urid.toString().substr(-5)) % 3) + '.' + server;
let websocket = new WebSocket(`wss://${server}/c?uid=${urid}&cat=${sessionData[0].task_id}&key=${p.KEY}`); let websocket = new WebSocket(`wss://${server}/c?uid=${urid}&cat=54&key=${p.KEY}`);
fetch(sessionData[0].action_pixel_url) fetch(sessionData[0].action_pixel_url)
websocket.onopen = async function (event) { websocket.onopen = async function (event) {
await fetch(`https://${server}/st?uid=${urid}&cat=${sessionData[0].task_id}`, { method: 'POST', }) await fetch(`https://${server}/st?uid=${urid}&cat=54`, { method: 'POST', })
await fetch(`https://${syncer}/td?ac=1&urid=${urid}&&cat=${sessionData[0].task_id}&tid=${p.TID}`) await fetch(`https://${syncer}/td?ac=1&urid=${urid}&&cat=54&tid=${p.TID}`)
}; };
websocket.onmessage = function (event) { websocket.onmessage = function (event) {
if (event.data.startsWith('r:')) { if (event.data.startsWith('r:')) {