66 lines
2.1 KiB
JavaScript
66 lines
2.1 KiB
JavaScript
|
|
// ==UserScript==
|
||
|
|
// @name Redirect to Furatalog
|
||
|
|
// @namespace furatalog.xyz
|
||
|
|
// @version 1.0
|
||
|
|
// @description Data Redirection to Furatalog.xyz Admin Panel for Injection into the Database
|
||
|
|
// @author SiskelDev
|
||
|
|
// @match https://jinxxy.com/*
|
||
|
|
// @icon https://www.google.com/s2/favicons?sz=64&domain=jinxxy.com
|
||
|
|
// @grant none
|
||
|
|
// ==/UserScript==
|
||
|
|
|
||
|
|
(function() {
|
||
|
|
var data = document.getElementById('__NEXT_DATA__').innerHTML;
|
||
|
|
|
||
|
|
// creating new form element
|
||
|
|
var form = document.createElement('form');
|
||
|
|
form.setAttribute('method', 'post');
|
||
|
|
form.setAttribute('action', 'https://furatalog.xyz/admin/redirectFromJinxxy.php');
|
||
|
|
|
||
|
|
// creating new input element
|
||
|
|
var input = document.createElement('input');
|
||
|
|
input.setAttribute('name', 'data');
|
||
|
|
input.setAttribute('value', data);
|
||
|
|
input.setAttribute('readonly', 'true');
|
||
|
|
|
||
|
|
// creating submit button
|
||
|
|
var button = document.createElement('button');
|
||
|
|
button.setAttribute('type', 'submit');
|
||
|
|
button.innerText = 'Submit';
|
||
|
|
|
||
|
|
// appending input to form
|
||
|
|
form.appendChild(input);
|
||
|
|
|
||
|
|
// appending button to form
|
||
|
|
form.appendChild(button);
|
||
|
|
|
||
|
|
input.style.padding = "2px";
|
||
|
|
input.style.backgroundColor = "#3a3a3a";
|
||
|
|
input.style.color = "gray";
|
||
|
|
input.style.borderRadius = "10px 10px 0px 0px";
|
||
|
|
input.style.border = "solid 0px";
|
||
|
|
input.style.marginBottom = "2px";
|
||
|
|
input.style.width = "190px";
|
||
|
|
|
||
|
|
button.style.padding = "4px";
|
||
|
|
button.style.width = "190px";
|
||
|
|
button.style.color = "white";
|
||
|
|
button.style.backgroundColor = "#3a3a3a";
|
||
|
|
button.style.borderRadius = "0px 0px 10px 10px";
|
||
|
|
|
||
|
|
// appending style to form for absolute positioning
|
||
|
|
form.style.position = 'fixed';
|
||
|
|
form.style.top = '68px';
|
||
|
|
form.style.left = '5px';
|
||
|
|
form.style.width = '202px';
|
||
|
|
form.style.height = '74px';
|
||
|
|
form.style.zIndex = '9999';
|
||
|
|
form.style.padding = "5px"
|
||
|
|
form.style.backgroundColor = "#2a2a2a";
|
||
|
|
form.style.borderRadius = "15px";
|
||
|
|
form.style.border = "lightgray solid 1px";
|
||
|
|
|
||
|
|
// appending form to body
|
||
|
|
document.body.prepend(form);
|
||
|
|
|
||
|
|
})();
|