VC AutoFill EU

VC AutoFill for EU(除了hcaptcha验证),记得将wantedVPS的内容替换为你想要的vps序号,可以的话也修改一下密码。

  1. // ==UserScript==
  2. // @name VC AutoFill EU
  3. // @namespace http://tampermonkey.net/
  4. // @version 1.0
  5. // @description VC AutoFill for EU(除了hcaptcha验证),记得将wantedVPS的内容替换为你想要的vps序号,可以的话也修改一下密码。
  6. // @author ChatGPT
  7. // @match https://free.vps.vc/create-vps
  8. // @icon https://free.vps.vc/img/favicon.png
  9. // @grant none
  10. // @license WTFPL
  11. // ==/UserScript==
  12.  
  13. var selectos = document.querySelector('#os');
  14. var purpose = document.querySelector('#purpose');
  15. var password = document.getElementById('password');
  16. var checkboxes = document.querySelectorAll('input[type="checkbox"]');
  17. var wantedVPS = 'EU4|EU2|EU3|EU1';
  18. // US4|US3|US2|US1|
  19. // EU4|EU2|EU3|EU1
  20. var datacenterSelect = document.getElementById('datacenter');
  21.  
  22. if (selectos) {
  23. selectos.selectedIndex = 2;
  24. }
  25.  
  26. if (purpose) {
  27. purpose.selectedIndex = 4;
  28. }
  29.  
  30. if (password) {
  31. password.value = 'P@assword!';
  32. }
  33.  
  34. if (datacenterSelect) {
  35. Array.from(datacenterSelect.options).forEach(function(option) {
  36. if (option.value.includes(wantedVPS)) {
  37. option.selected = true;
  38. }
  39. });
  40. }
  41.  
  42. checkboxes.forEach(function(checkbox) {
  43. checkbox.checked = true;
  44. });

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址