()
| 18 | |
| 19 | class AutoSignSystem { |
| 20 | constructor() { |
| 21 | this.windowId = 'window_' + Date.now() + '_' + Math.random().toString(36).substr(2, 9); |
| 22 | this.isMaster = false; |
| 23 | this.timers = []; |
| 24 | this.nextSignTimer = null; |
| 25 | |
| 26 | // 暴露全局接口,供外部调用 |
| 27 | window.NodeSeekClockIn = this; |
| 28 | |
| 29 | this.init(); |
| 30 | } |
| 31 | |
| 32 | init() { |
| 33 | // 只在NodeSeek网站运行 |