Greasy Fork is available in English.
None
// ==UserScript==
// @name 拼多多自动跟价去除默认勾选
// @namespace http://tampermonkey.net/
// @version 0.1
// @description None
// @author linauror
// @match https://mms.pinduoduo.com/goods/goods_add/*
// @icon data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==
// @grant none
// @license MIT
// ==/UserScript==
(function() {
'use strict';
window.setTimeout(function(){
var autoFollowEle = document.getElementsByClassName('enroll-page-auto-follow_down__3O8R1');
if (!autoFollowEle || autoFollowEle.length != 1) {
console.log('拼多多自动跟价:未检测到自动跟价元素,忽略');
return;
}
var autoFollowCheckBox = autoFollowEle[0].getElementsByTagName('input');
if (!autoFollowCheckBox || autoFollowCheckBox.length != 1) {
console.log('拼多多自动跟价:未检测到自动跟价复选框,忽略');
return;
}
autoFollowCheckBox[0].click(); // 点击去除勾选
console.log('拼多多自动跟价:已去除勾选');
},5000);
})();