0% found this document useful (0 votes)
10 views8 pages

VIP ID Management Script

The document is a JavaScript code snippet that initializes a mission ID monitoring system, capturing unique mission IDs and their associated points. It includes functions for shortening IDs, resetting captured data, processing responses from a server, and automating the clicking of 'Skip' buttons on the webpage. The script also manages an indicator for the user to see when the automation is running.

Uploaded by

Charles Silva
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
10 views8 pages

VIP ID Management Script

The document is a JavaScript code snippet that initializes a mission ID monitoring system, capturing unique mission IDs and their associated points. It includes functions for shortening IDs, resetting captured data, processing responses from a server, and automating the clicking of 'Skip' buttons on the webpage. The script also manages an indicator for the user to see when the automation is running.

Uploaded by

Charles Silva
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

javascript:(function(){

if([Link]) return;
[Link] = true;

const capturedShortIds = new Set(),


idOrder = [],
specialIds = new
Set(["2bb992b3","3aa34fbf","6d4c4475","23b582c6","769f5933","e87c8908","c7783f97","
7177eec6","4fe81732","f3143419","01f1a4f7","94934125","19a661c9","ed182f17","1e0552
cb","a562f0cb","ce7f5d98","6b5acae7","5594f84d","f1320799","8f57496f","5ea362c5","e
d8f876a","8f506aab","4a38f411","30359a6b","c0f414be","8b2f28ce","fa0bbbe3","0f383c3
6","80369ed9","25f83fe8","089dc867","ecbbbbc3","20df15e7","22d3192a","c360da63","b5
7056f7","528bf3d8","6fb9fa73","61c91de9","2c8920a0","3264fb96","0690ebe9","c43c84a7
","0b62e401","4507fc6f","22d3192a","2d216b0b","4c37ac4c","abb0d90f","2c325d3d","fd1
d69db","32dd4977","772aa283","3750f360","7d39ad83","141f38aa","484a6c6f","f48dfe7a"
,"e6554268","abd59da2","1e2a3d89","9d945041","58eec9f4","720e1745","ab193695","fc29
d536","4d529221","1fa266ff","ebc3039e","d4baf1ac","6b277978","4f6f7f61","925b89ad",
"d206209b","89229b2c","cd96ed01","c7328510","17ba07ee","b8bd2f93","90c3b25a","0c384
473","3f8baa32","c09fc6a3","e616ef8c","2115bd08","a3c9c9cc","7940cb77","ef80aa9b","
a5348abf","c265ae51","1cc2cba8","9d8ced7f","85ec4f6b","8c5a4083","c9f831b4","89cdad
aa","ff19f4ed","70ed1ef4","45621b30"]),
normalIds = new
Set(["024cdd5b","0fbfcc72","632f4ded","9b6ef1de","9f32c52b","beb9b8df","db4e9f00","
eb9b8b8df","ecc84a5","f18afd85","f30f0b63","0d46ac70","16a7b7e3","220b70ab","308b6a
5a","489cfc97","498bc7a0","4a7e9d09","5d6d9c0b","5e613f7c","6a44cadc","8b2c98fc","a
175e67d","a3b4bef1","d4da531d","09d84600","0b1409a","0d0e092","0d1728cd","146d445a"
,"2cbc4812","3a046bbd","4d36d695","52245924","52830287","5d34a0bd","6b7ef088","6d66
0e522","7a4fe398","7e3beb0e","91a9cc21","95e7dcf3","97bfa906","a5b68993","b6185bc9"
,"bb097a90","c71b10ca","ccced2c4","cf17906a","e3b89206","e8e60f0a","2becf2bb","cad8
8e92","b54559db","e63e2006","a3f0f64a","fdd6bee0","d4da13e1","6cec0164","1557d8d5",
"dbd741fe","13d9ac2a","a7536da6","ebbf6952","d35db7b1","d77dd591","12c3ae8d","8431c
b67","5be61adb","d8ae4b7e","909a7d46","d8f5b8e5","754e4a0a","71680be1","379970a6","
7ff54090","9f48e7d6","b81f01b6","c8574cda","ca349814","c877c8ec","f653f298","52c2a9
83","73c5601e","8e49da16","c0ab1bc","ea9b2507","571a44e4","dcd093c9","5c270e0c","3b
bb98f4","15814ece","df24978c","bfd6fe17","a87a71a2","97b31f4d","b74e9729","27e0a7fd
","d03ff194","8ef3f9b3","97fe9030","53e59241","d1fe89c9","e48b3962","6022cc1a","5a3
64308","ce3cca96","38604d2e","9fb01915","91de707b","a6a9cb0e","5014b96f","cdb3303c"
,"12028de4","34fb2681","4bd1484e","0dfb5f16","d359bb56","5aca2aaa","f8473bff","00d1
e997","9584ca66","c6dba7c2","5cb5f740","8bfc7885","88851dce","5eaeb522","d4d6d366",
"445a7400","bb7c9590","43a436ad","d4503537","bb7c9590","c4fe44a2","e639875d","1e7d8
fe6","13b0f07b","d793fecc","645e6d37","5a2082da","f0e42bf3","16946361","84e35692","
dfbef5da","39651288","e58f8216","b0f63b04","da42afa9","656f9160","b21540a5","e87ab6
7c","71273d6a","b74cd46b","5cffb4f2","bf1049db","7b1fb9af","0b62df9b","ba8a89e9","3
e38a090","25b67caf","88f4e57d","c314e6fc","b84db95f","bbee41ab","12874c86","f411b4d
b","8f450d63","750593f4","2761afc7","1e8c1cad","6fe2ec89","1ccaabae","a81c5352","c6
b7c924","9e67955a","14f2c20f","a609b6ca","87d5f9be","e10ba835","53e969f2","e9041fde
","8c5df2a3","666071e2","cef568d0","31973921","a5885785","b588eb16","f023ad12","f7f
2eba6","4882a99e","beb14b1e","bb977d78","aa197463","dc58c6e4","0ed1b2b4","c425abf6"
,"eda8526b","86b09369","f71a25f7","c5da865b","b5df73c2","340b3830","a38fdc25","19f0
2867","7210caf0","4874df63","fe4f05f2","922d52d4","3af91e9a","91b55c89","2aadf045",
"cee286ce","3edd4ca9","1bba9763","bbb70244","aa002207","355feb60","3bc4cb6a","5a115
8f8","bbb70244","a4f26fe1","63ffc846","39f0deab","32067498","6867ef7e","47fb9102","
102bca9b","88947c01","f26d9eeb","072207f4","a6e11a14","985a4112","45e95551","057e8a
a4","643e8131","c2b700a9","260a568a","8216584a","7fb19210","5285337b","81b8b239","f
b2fea2b","69227966","40c2bc46","7c8f388b","cab99a0a","aa4ee6b4","c51e78f9","e0276eb
e","282d50ea","fbbece01","aa6dd72f","64059322","e5e6a15b","728fdc0b","b0ede58c","91
f65e84","1be10c7e","7ddc928b","508c3117","b0394217","c766401f","35867fca","fffaac6f
","eb63d008","c5ba641c","1fca8a9b","e4abeb5c","29f408b0","bc0011b9","0af16cae","dd3
e33d5","0a354634","7e3194d3","686cf1b3","2ba72026","6765cebd","070194c4","b0243e75"
,"4b61159a","ccf426d0","1e5e2595","4593a245","10bd08fc","99e3c947","f7a34a8f","e169
0340","1bf38434","e46a4a8b","3e3644af","48a6dd5b","32b4f31b","7bdc2e0b","d60a9cd7",
"6df337de","c993181c","16241db6","ad3cc8cb","46645ec9","ad1c49e0","0303d143","5bbcf
e6c","a6d89475","e0967577","1a3b1906","f99f78fe","e1adcd70","a33fcea9","c17f9c7f","
d8d71fc2","3f435d2b","02466ab3","86d35ba0","d3903884","66db9fe8","58f37dff","fb6797
e0","71b81c2e","cfb3f66b","9d356456","6f78a5ca","647e8e86","5e76f5a8","6c2b4786","9
202c2d7","d30997e4","4b970399","27f4caf6","3d926eab","c53bc913","73ba0bf4","945a191
f","e38ce766","86e96f03","2c0a42c9","a946bd99","45bd5d09","6ae4d5e6","11778773","3e
20cd81","3864e446","65d5cc0a","4337ffb9","10673b39","68e5339c","6eadb53e","db1a5b51
","4877640b","164b37a4","54419150","95abba74","88fd2c2f","1a7e052d","6b85f211","2b8
79c96","b63ba512","81112183","6bed1fac","f3f3da23","4c668a23","58b7c334","ffa0d71d"
,"97bb14c7","fcfb2359","6b8594c0","78a1866c","844c1e3e","fc947576"]);

function shortenId(id) {
return [Link](0, 8);
}

function resetFunction() {
[Link]();
[Link] = 0;
displayCombinedData();
}

function updateShortIds(newMissionData) {
[Link](item => !
[Link](shortenId([Link]))).forEach(item => {
const shortId = shortenId([Link]);
[Link](shortId);
[Link]({ id: shortId, points: [Link] });
});
displayCombinedData();
}

function processResponse(responseText) {
try {
const response = [Link](responseText);
if (response && [Link]) {
const missionData = [Link]
.map(item => ({ id: item.mission_id, points: [Link] ||
0 }))
.filter(item => Boolean([Link]));
if ([Link]) updateShortIds(missionData);
}
} catch (e) {
[Link]("Error:", e);
}
}

function skipIdAutomation() {
if([Link]){
[Link] = false;
clearTimeout([Link]);
[Link]('#skipScriptIndicator')?.remove();
return;
}
[Link] = true;
let attempts = 0;
[Link] = null;
const clickButton = (element) => {
["mousedown", "mouseup", "click"].forEach(eventType => {
const mouseEvent = new MouseEvent(eventType, {
bubbles: true,
cancelable: true,
view: window
});
[Link](mouseEvent);
});
};

const updateIndicator = () => {


let indicator = [Link]('#skipScriptIndicator');
if (![Link] && indicator) {
[Link]();
return;
}
if (!indicator) {
indicator = [Link]('div');
[Link] = 'skipScriptIndicator';
[Link]([Link], {
position: 'fixed',
top: '10px',
right: '10px',
zIndex: '2147483647',
backgroundColor: 'pink',
color: 'white',
padding: '5px 10px',
borderRadius: '5px',
fontSize: '14px',
fontFamily: 'Arial, sans-serif',
boxShadow: '0 2px 5px rgba(0,0,0,0.3)'
});
[Link](indicator);
}
[Link] = 'pink';
[Link] = 'Script en ejecución';
};

const skipAutomation = () => {


if (![Link]) {
clearTimeout([Link]);
updateIndicator();
return;
}
updateIndicator();
const skipButton = [Link]([Link]('button'))
.find(button => "Skip" === [Link]() &&
[Link] !== null);
if (skipButton) {
attempts = 0;
clickButton(skipButton);
[Link] = setTimeout(() => {
const confirmButton =
[Link]([Link]('button'))
.find(button => "Skip" === [Link]() &&
[Link] !== null && [Link]("primarySection"));
confirmButton && clickButton(confirmButton);
[Link] = setTimeout(skipAutomation, 4000);
}, 1000);
} else if (attempts < 2) {
attempts++;
[Link] = setTimeout(skipAutomation, 4000);
} else {
[Link] = false;
clearTimeout([Link]);
updateIndicator();
}
};

updateIndicator();
skipAutomation();
}

function toggleContainer() {
const content = [Link]("combined-content");
const toggleButton = [Link]("toggle-button");
if ([Link] === "none") {
[Link] = "block";
[Link] = "−";
} else {
[Link] = "none";
[Link] = "+";
}
}

function makeDraggable(element) {
let pos1 = 0, pos2 = 0, pos3 = 0, pos4 = 0;
const dragHandle = [Link]("drag-handle");

if (dragHandle) {
[Link] = dragMouseDown;
} else {
[Link] = dragMouseDown;
}

function dragMouseDown(e) {
e = e || [Link];
[Link]();
pos3 = [Link];
pos4 = [Link];
[Link] = closeDragElement;
[Link] = elementDrag;
}

function elementDrag(e) {
e = e || [Link];
[Link]();
pos1 = pos3 - [Link];
pos2 = pos4 - [Link];
pos3 = [Link];
pos4 = [Link];
[Link] = ([Link] - pos2) + "px";
[Link] = ([Link] - pos1) + "px";
}

function closeDragElement() {
[Link] = null;
[Link] = null;
}
}

function toggleHideSpan() {
var elements = [Link]('[class*="hideSpan"]');
var button = [Link]("titulo-button");
var isHidden = [Link]('svg')?.getAttribute('data-icon') ===
'eye-off';

for(var i = 0; i < [Link]; i++){


elements[i].[Link] = isHidden ? 'visible' : 'hidden';
}

var openEyeIcon = '<svg xmlns="[Link] width="20"


height="20" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-
linecap="round" stroke-linejoin="round" data-icon="eye"><path d="M1 12s4-8 11-8 11
8 11 8-4 8-11 8-11-8-11-8z"></path><circle cx="12" cy="12" r="3"></circle></svg>';
var closedEyeIcon = '<svg xmlns="[Link] width="20"
height="20" viewBox="0 0 24 24" fill="none" stroke="white" stroke-width="2" stroke-
linecap="round" stroke-linejoin="round" data-icon="eye-off"><path d="M17.94
17.94A10.07 10.07 0 0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9
4.24A9.12 9.12 0 0 1 12 4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0
1 1-4.24-4.24"></path><line x1="1" y1="1" x2="23" y2="23"></line></svg>';

[Link] = isHidden ?
'<span style="display:flex;align-items:center;justify-content:center;">' +
openEyeIcon + '<span style="margin-left:4px;color:white;">Título</span></span>' :
'<span style="display:flex;align-items:center;justify-content:center;">' +
closedEyeIcon + '<span style="margin-left:4px;color:white;">Título</span></span>';

[Link] = 'all 0.3s ease';


[Link] = 'scale(1.1)';
setTimeout(function() {
[Link] = 'scale(1)';
}, 300);
}

function displayCombinedData() {
let container = [Link]("combined-container");
if (!container) {
container = [Link]("div");
[Link] = "combined-container";
[Link] =
"position:fixed;top:10px;left:10px;width:120px;background:rgba(40, 40, 40,
0.75);border:1px solid #444;border-radius:3px;padding:8px;z-index:2147483647;font-
size:12px;color:#fff;font-weight:bold;pointer-events:auto;user-select:none;box-
shadow:0 4px 12px rgba(0,0,0,0.5);font-family:'Segoe UI', Arial, sans-serif;";
[Link](container);
makeDraggable(container);
}

const combinedData = [Link](0, 12).map((item, index) => {


const isSpecial = [Link]([Link]);
const isNormal = [Link]([Link]);

let bgColor;
if (isSpecial) {
bgColor = 'rgb(41, 223, 140)';
} else if (isNormal) {
bgColor = '#eac102';
} else {
bgColor = 'rgba(243, 255, 253, 0.8)';
}

return `<div style="margin-bottom:4px;padding:4px;border-


radius:3px;background:${bgColor};color:#000;font-size:12px;font-
weight:normal;cursor:pointer;transition:all 0.15s
ease;position:relative;overflow:hidden;box-shadow:0 1px 3px rgba(0,0,0,0.1);letter-
spacing:0.2px;width:100%;"
onmouseover="[Link]='0 2px 8px
rgba(0,0,0,0.2)';"
onmouseout="[Link]='0 1px 3px
rgba(0,0,0,0.1)';"
onmousedown="[Link]='scale(0.98)
translateY(1px)';"
onmouseup="[Link]='scale(1) translateY(0)';"
onclick="[Link]('${[Link]}')">
<strong style="font-size:13px;font-family:'Segoe UI',
Arial, sans-serif;">${index + 1}. ${[Link]}</strong><br>
<div style="display:flex;justify-content:space-
between;align-items:center;">
<span style="font-size:12px;font-weight:bold;font-
family:'Segoe UI', Arial, sans-serif;">${[Link]} Pts</span>
${isSpecial ? '<span
style="font-size:16px;">📝</span>' : ''}
</div>
</div>`;
}).join("");

[Link] = `<div style="display:flex;justify-content:space-


between;align-items:center;margin-bottom:8px;cursor:move;color:#fff;" id="drag-
handle">
<strong style="font-family:'Segoe UI', Arial,
sans-serif;font-size:13px;">BOT VIP:</strong>
<button id="toggle-button"
style="background:none;border:none;font-size:20px;cursor:pointer;padding:0
5px;color:#fff;">−</button>
</div>
<div id="combined-content">
<button id="titulo-button" style="margin-
bottom:8px;padding:5px 10px;background:#e74c3c;color:#fff;border:none;border-
radius:3px;cursor:pointer;width:100%;transition:all 0.15s ease;font-family:'Segoe
UI', Arial, sans-serif;font-weight:bold;letter-spacing:0.5px;box-shadow:0 1px 3px
rgba(0,0,0,0.1);"

onmouseover="[Link]='#c0392b';[Link]='0 2px 8px


rgba(0,0,0,0.2)';"

onmouseout="[Link]='#e74c3c';[Link]='0 1px 3px


rgba(0,0,0,0.1)';"

onmousedown="[Link]='scale(0.98) translateY(1px)';"

onmouseup="[Link]='scale(1) translateY(0)';">
<span style="display:flex;align-
items:center;justify-content:center;">
<svg xmlns="[Link]
width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="white" stroke-
width="2" stroke-linecap="round" stroke-linejoin="round" data-icon="eye-off">
<path d="M17.94 17.94A10.07 10.07 0
0 1 12 20c-7 0-11-8-11-8a18.45 18.45 0 0 1 5.06-5.94M9.9 4.24A9.12 9.12 0 0 1 12
4c7 0 11 8 11 8a18.5 18.5 0 0 1-2.16 3.19m-6.72-1.07a3 3 0 1 1-4.24-4.24"></path>
<line x1="1" y1="1" x2="23"
y2="23"></line>
</svg>
<span style="margin-
left:4px;color:white;">Título</span>
</span>
</button>
${combinedData}
<button id="copy-button" style="margin-
top:8px;padding:5px 10px;background:#ff5722;color:#fff;border:none;border-
radius:3px;cursor:pointer;width:100%;transition:all 0.15s ease;font-family:'Segoe
UI', Arial, sans-serif;font-weight:bold;letter-spacing:0.5px;box-shadow:0 1px 3px
rgba(0,0,0,0.1);"

onmouseover="[Link]='#e64a19';[Link]='0 2px 8px


rgba(0,0,0,0.2)';"

onmouseout="[Link]='#ff5722';[Link]='0 1px 3px


rgba(0,0,0,0.1)';"

onmousedown="[Link]='scale(0.98) translateY(1px)';"

onmouseup="[Link]='scale(1) translateY(0)';">
LIMPIAR
</button>
</div>`;

[Link]("copy-button").onclick = () => {
const textToCopy = [Link](0, 12).map((item, index) => `${index +
1}. ${[Link]} (${[Link]} puntos)`).join("\n");
[Link](textToCopy).then(() => resetFunction());
};

[Link]("toggle-button").onclick = toggleContainer;

[Link]("titulo-button").onclick = toggleHideSpan;
}

const originalXHR = [Link];


[Link] = function () {
const xhr = new originalXHR(), originalOpen = [Link];
[Link] = function () {
[Link]("load", function () {
if
([Link]("[Link]/member/protocol/respond/available") &&
[Link]) {
processResponse([Link]);
}
});
[Link](this, arguments);
};
return xhr;
};
const originalFetch = [Link];
[Link] = function (...args) {
return [Link](this, args).then(async response => {
if
([Link]("[Link]/member/protocol/respond/available")) {
const clone = [Link](), text = await [Link]();
processResponse(text);
}
return response;
});
};

resetFunction();
[Link]("Bookmarklet inicializado con éxito. Monitoreando IDs de
misiones...");
})();

You might also like