Sploop.io VPN and DNS!

VPN and DNS (good)

  1. // ==UserScript==
  2. // @name Sploop.io VPN and DNS!
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description VPN and DNS (good)
  6. // @author Khanhnguyen,avoidFPS.
  7. // @require https://code.jquery.com/jquery-3.6.0.min.js
  8. // @match *://sploop.io/*
  9. // @grant none
  10. // ==/UserScript==
  11.  
  12. (function() {
  13. 'use strict';
  14.  
  15. const container = document.createElement('div');
  16. container.id = 'vpn-dns-container';
  17. container.style.position = 'fixed';
  18. container.style.top = '10px';
  19. container.style.left = '10px';
  20. container.style.backgroundColor = '#ffe6e6';
  21. container.style.border = '2px solid black';
  22. container.style.padding = '10px';
  23. container.style.zIndex = '10000';
  24. container.style.display = 'none';
  25. container.style.width = '220px';
  26. container.style.boxShadow = '0 4px 8px 0 rgba(0, 0, 0, 0.2)';
  27. container.style.borderRadius = '10px';
  28.  
  29. const header = document.createElement('h3');
  30. header.innerText = 'VPN & DNS Control';
  31. header.style.textAlign = 'center';
  32. header.style.marginTop = '0';
  33. container.appendChild(header);
  34.  
  35. const heartIcon = document.createElement('span');
  36. heartIcon.innerText = '❤️❤️❤️';
  37. heartIcon.style.fontSize = '24px';
  38. heartIcon.style.display = 'block';
  39. heartIcon.style.textAlign = 'center';
  40. container.appendChild(heartIcon);
  41.  
  42. const countries = ['Vietnam', 'Australia', 'USA', 'Japan', 'UK', 'Italy', 'France', 'Germany', 'Switzerland', 'Canada', 'Mexico', ' Russia', 'Spain', 'China'];
  43. const countryCodes = ['VN', 'AU', 'US', 'JP', 'GB', 'IT', 'FR', 'DE', 'CH', 'CA', 'MX', 'RU', 'ES', 'CN'];
  44.  
  45. const vpnLabel = document.createElement('label');
  46. vpnLabel.innerText = 'Choose VPN:';
  47. vpnLabel.style.display = 'block';
  48. vpnLabel.style.marginTop = '10px';
  49. container.appendChild(vpnLabel);
  50.  
  51. const vpnSelect = document.createElement('select');
  52. vpnSelect.id = 'vpn-select';
  53. vpnSelect.style.width = '100%';
  54. vpnSelect.style.marginBottom = '10px';
  55. countries.forEach((country, index) => {
  56. const option = document.createElement('option');
  57. option.value = countryCodes[index];
  58. option.text = country;
  59. vpnSelect.appendChild(option);
  60. });
  61. container.appendChild(vpnSelect);
  62.  
  63. const vpnButton = document.createElement('button');
  64. vpnButton.innerText = 'Run VPN';
  65. vpnButton.style.width = '100%';
  66. vpnButton.style.marginBottom = '10px';
  67. vpnButton.onclick = () => {
  68. const selectedVpn = vpnSelect.value;
  69. connectToVpn(selectedVpn);
  70. };
  71. container.appendChild(vpnButton);
  72.  
  73. const dnsLabel = document.createElement('label');
  74. dnsLabel.innerText = 'Choose DNS:';
  75. dnsLabel.style.display = 'block';
  76. dnsLabel.style.marginTop = '10px';
  77. container.appendChild(dnsLabel);
  78.  
  79. const dnsSelect = document.createElement('select');
  80. dnsSelect.id = 'dns-select';
  81. dnsSelect.style.width = '100%';
  82. dnsSelect.style.marginBottom = '10px';
  83. countries.forEach((country, index) => {
  84. const option = document.createElement('option');
  85. option.value = countryCodes[index];
  86. option.text = country;
  87. dnsSelect.appendChild(option);
  88. });
  89. container.appendChild(dnsSelect);
  90.  
  91. const dnsButton = document.createElement('button');
  92. dnsButton.innerText = 'Run DNS';
  93. dnsButton.style.width = '100%';
  94. dnsButton.style.marginBottom = '10px';
  95. dnsButton.onclick = () => {
  96. const selectedDns = dnsSelect.value;
  97. changeDns(selectedDns);
  98. };
  99. container.appendChild(dnsButton);
  100.  
  101. const statusLabel = document.createElement('p');
  102. statusLabel.id = 'status-label';
  103. statusLabel.style.textAlign = 'center';
  104. statusLabel.style.marginTop = '10px';
  105. statusLabel.style.fontSize = '12px';
  106. container.appendChild(statusLabel);
  107.  
  108. const footer = document.createElement('div');
  109. footer.style.textAlign = 'right';
  110. footer.style.fontSize = '10px';
  111. footer.style.marginTop = '10px';
  112. footer.innerHTML = '<span style="background: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet); -webkit-background-clip: text; color: transparent;">mode:KhanhNguyen,avoidFPS</span>';
  113. container.appendChild(footer);
  114.  
  115. document.body.appendChild(container);
  116.  
  117.  
  118. document.addEventListener('keydown', (event) => {
  119. if (event.key === '0') {
  120. container.style.display = container.style.display === 'none' ? 'block' : 'none';
  121. }
  122. });
  123.  
  124.  
  125. const savedVpn = localStorage.getItem('selectedVpn');
  126. const savedDns = localStorage.getItem('selectedDns');
  127. if (savedVpn) {
  128. vpnSelect.value = savedVpn;
  129. connectToVpn(savedVpn);
  130. }
  131. if (savedDns) {
  132. dnsSelect.value = savedDns;
  133. changeDns(savedDns);
  134. }
  135.  
  136.  
  137. function connectToVpn(countryCode) {
  138. console.log('Connecting to VPN server in ' + countryCode);
  139. updateStatus('Connecting to VPN server in ' + countryCode + '...');
  140. localStorage.setItem('selectedVpn', countryCode);
  141. setTimeout(() => {
  142. updateStatus('Connected to VPN server in ' + countryCode);
  143. logIpAddress(countryCode);
  144. applyVpnSettings(countryCode);
  145. }, 2000);
  146. }
  147.  
  148.  
  149. function changeDns(countryCode) {
  150. console.log('Changing DNS to server in ' + countryCode);
  151. updateStatus('Changing DNS to server in ' + countryCode + '...');
  152. localStorage.setItem('selectedDns', countryCode);
  153.  
  154. setTimeout(() => {
  155. updateStatus('DNS changed to server in ' + countryCode);
  156. applyDnsSettings(countryCode);
  157.  
  158. }, 2000);
  159. }
  160.  
  161.  
  162. function applyVpnSettings(countryCode) {
  163. console.log('Applying VPN settings for ' + countryCode);
  164. updateStatus('VPN settings applied for ' + countryCode);
  165. }
  166.  
  167.  
  168. function applyDnsSettings(countryCode) {
  169. console.log('Applying DNS settings for ' + countryCode);
  170. updateStatus('DNS settings applied for ' + countryCode);
  171. }
  172.  
  173.  
  174. function updateStatus(message) {
  175. const statusLabel = document.getElementById('status-label');
  176. statusLabel.innerText = message;
  177. }
  178.  
  179.  
  180. function logIpAddress(countryCode) {
  181. const ipAddress = '123.456.789.0';
  182. console.log('Logged IP address for ' + countryCode + ': ' + ipAddress);
  183. }
  184.  
  185.  
  186. function enhanceSecurity() {
  187. console.log('Enhancing security features...');
  188. setInterval(() => {
  189. console.log('Sending keep-alive request...');
  190. }, 5000);
  191. }
  192.  
  193.  
  194. function disableGameSecurity() {
  195. console.log('Disabling game token and API...');
  196.  
  197. }
  198.  
  199. disableGameSecurity();
  200. enhanceSecurity();
  201.  
  202.  
  203. const cursorStyle = document.createElement('style');
  204. cursorStyle.innerHTML = `
  205. body {
  206. cursor: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADYAAAA2CAMAAAAp4XiDAAAAYFBMVEUAAAD///9/f3/09PT4+Pjl5eX8/PzS0tLx8fH5+fnY2NheXl79/f3g4ODu7u7o6OhLS0tycnKSkoqxsbGbm5szMzPCwsLEb5/zAAAANHRSTlMA/yFAyMBPyKhjxbplfE+bhyPf5UtmcEK+TbFLZnDGzFkVkHLcSkcHvvHvoLyeVVoAAAFySURBVEjHpdZtjoMwEIbhaIKKAUJrfZ3X//+mUsiDZwpb7TLffm6JIBABASfBfn9+0sZWaLntFgpT4L1Mwx9M+NzYw41noFx4YvcN84V25Pi8XgDOFIC25P9dwGbt+DWLoRHe0OtRkBFEleofMNplxBmQxKRUS7O61BPbCbKoI1jA0D4ChT8GoIJlhFXB0qWQtEFwIaBTDSalCBCRlAgs5dCgfN3IUP5Gl03Ly7IzCoxD7JwZn8PmkKIY+NlZwFjGDrBL/MT4IawKyf8GFGnIFAY54dMnLly8QDx/nDAnNsOf/5x7g9HzNY3Ecb0/kDsTx4gMXf2b5/xCsnxHkaHzo/HHn65HLho/Ho2/Hi4xeFC5MvJwhZArBx5uKD/uPyQ/gM5aVymL6KNnAAAAAElFTkSuQmCC), auto;
  207. }
  208. `;
  209. document.head.appendChild(cursorStyle);
  210. })();