Temu天天弹降价窗所以搞了个一键不同调价的脚本
脚本要搭配油猴使用!!!
该脚本js脚本 可以直接复制到油猴 也可以直接创建一个文件后缀js的文件
然后把内容复制使用文本编辑粘贴上去再拖动到油猴脚本。
建议直接在油猴脚本 新建一个脚本 直接复制一下内容!
temu右上角
点击右上角开始直接一键不同意调价!!!

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
// ==UserScript==
// @name temu-Automatically click to disagree
// @namespace https:www.pw0n.com
// @version 0.6
// @description 自动点击指定的元素,并增加开始和暂停按钮
// @author pw0n
// @match https://seller.kuajingmaihuo.com/*
// @match https://agentseller.temu.com/*
// @grant none
// ==/UserScript==

(function() {
'use strict';

let isRunning = false; // 标记当前状态,是否自动点击
let intervalId;

function clickElements(selector) {
const elements = document.querySelectorAll(selector);
elements.forEach(element => {
element.click();
});
}

function autoClick() {
// 点击指定的单选按钮(使用新的选择器)
clickElements('div.RD_radioWrapper_5-118-0');

// 点击"我已知晓风险,本次不再提醒"的元素
clickElements('div.CBX_squareInputWrapper_5-114-0');

// 点击确认按钮
clickElements('button[data-tracking-id="zIb_kvR_JvmInKd9"].BTN_outerWrapper_5-111-0.BTN_danger_5-111-0.BTN_medium_5-111-0.BTN_outerWrapperBtn_5-111-0[data-testid="beast-core-button"]');
}

function startAutoClick() {
if (!isRunning) {
autoClick(); // 执行一次点击
intervalId = setInterval(autoClick, 3000); // 每3秒执行一次
isRunning = true;
}
}

function stopAutoClick() {
if (isRunning) {
clearInterval(intervalId);
isRunning = false;
}
}

// 创建按钮
function createControlButtons() {
const container = document.createElement('div');
container.style.position = 'fixed';
container.style.top = '10px';
container.style.left = '10px';
container.style.zIndex = '9999';
container.style.display = 'flex';
container.style.gap = '10px';
container.style.padding = '8px';
container.style.background = 'rgba(255,255,255,0.7)';
container.style.borderRadius = '4px';
container.style.boxShadow = '0 2px 6px rgba(0,0,0,0.2)';

const startButton = document.createElement('button');
startButton.textContent = '开始';
startButton.style.padding = '6px 12px';
startButton.style.background = '#4CAF50';
startButton.style.color = 'white';
startButton.style.border = 'none';
startButton.style.borderRadius = '4px';
startButton.style.cursor = 'pointer';

const stopButton = document.createElement('button');
stopButton.textContent = '暂停';
stopButton.style.padding = '6px 12px';
stopButton.style.background = '#f44336';
stopButton.style.color = 'white';
stopButton.style.border = 'none';
stopButton.style.borderRadius = '4px';
stopButton.style.cursor = 'pointer';

startButton.addEventListener('click', startAutoClick);
stopButton.addEventListener('click', stopAutoClick);

container.appendChild(startButton);
container.appendChild(stopButton);
document.body.appendChild(container);
}

// 页面加载后创建按钮
if (document.readyState === 'complete' || document.readyState === 'interactive') {
setTimeout(createControlButtons, 1000);
} else {
window.addEventListener('DOMContentLoaded', () => {
setTimeout(createControlButtons, 1000);
});
}
})();

劝退正常人的平台