User:It's moon/common.js
From Just Solve the File Format Problem
< User:It's moon(Difference between revisions)
(Created page with "// Automatically submit Special:Captcha $(function () { if ($("#wpCaptchaWord").length) { $("#wpCaptchaWord").val("herpderp"); $("#wpSave").click(); } });") |
m (Fix attempt) |
||
Line 1: | Line 1: | ||
// Automatically submit Special:Captcha | // Automatically submit Special:Captcha | ||
$(function () { | $(function () { | ||
− | + | if (location.href.includes("action=submit")) { | |
− | if ($("#wpCaptchaWord").length) { | + | setTimeout(function () { |
− | + | if ($("#wpCaptchaWord").length) { | |
− | + | $("#wpCaptchaWord").val("herpderp"); | |
+ | $("#wpSave").click(); | ||
+ | } | ||
+ | }, 300); | ||
} | } | ||
}); | }); |
Revision as of 04:47, 23 May 2025
// Automatically submit Special:Captcha $(function () { if (location.href.includes("action=submit")) { setTimeout(function () { if ($("#wpCaptchaWord").length) { $("#wpCaptchaWord").val("herpderp"); $("#wpSave").click(); } }, 300); } });