注册Serv00太难受了 一直节点,复制粘贴信息都给我贴傻了,于是找AI撸了个自动填表的工具,自己修改需要填表的 姓、名、用户名、邮箱
// ==UserScript==
// @name serv00_autoform
// @namespace serv00_autoform
// @version 0.1
// @description serv00_autoform
// @match https://www.serv00.com/offer/create_new_account
// @match https://*/offer/create_new_account*
// @grant none
// ==/UserScript==
(function() {
'use strict';
// 等待页面加载完成后执行
window.addEventListener('load', function() {
// 填充 First Name 字段
var firstNameField = document.getElementById('id_first_name');
if (firstNameField) {
firstNameField.value = ''; // 修改为你想填入的名字
}
// 填充 Last Name 字段
var lastNameField = document.getElementById('id_last_name');
if (lastNameField) {
lastNameField.value = ''; // 修改为你想填入的姓氏
}
// 填充 Username 字段
var usernameField = document.getElementById('id_username');
if (usernameField) {
usernameField.value = ''; // 修改为你想填入的用户名
}
// 填充 Email 字段
var emailField = document.getElementById('id_email');
if (emailField) {
emailField.value = ''; // 修改为你想填入的邮箱地址
}
// 填充 Question 字段
var questionField = document.getElementById('id_question');
if (questionField) {
questionField.value = '0';
}
// 勾选 TOS 复选框
var tosCheckbox = document.getElementById('id_tos');
if (tosCheckbox && !tosCheckbox.checked) {
tosCheckbox.checked = true;
}
});
})();