// ==UserScript==
// @name 抖音直播防暂停脚本
// @namespace http://tampermonkey.net/
// @version 1.0
// @description 通过模拟极微小操作防止抖音网页直播暂停
// @match https://live.douyin.com/*
// @match https://www.douyin.com/follow/live/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
// 配置参数
const config = {
moveStep: 1, // 每次移动的像素(用户不可见幅度)
interval: 30000, // 操作间隔30秒(低于常见检测阈值)
debug: false // 调试模式
};
// 创建初始位置记录器
let mousePos = {
06-10
2089

10-19
2698

02-23
6620
