是否考虑猎头功能暂时隐藏
This commit is contained in:
@@ -3,7 +3,7 @@ schema_version: 1
|
||||
locale: zh-CN
|
||||
branch: master
|
||||
nodes_managed: true
|
||||
exported_at: "2026-08-26T07:13:00Z"
|
||||
exported_at: "2026-08-26T15:18:24Z"
|
||||
modules:
|
||||
"":
|
||||
dir_name: jianli-boss
|
||||
|
||||
File diff suppressed because one or more lines are too long
+1
-1
@@ -7,7 +7,7 @@ REM 每次升级改 APP_VERSION,避免与正在运行的旧版本目录冲突
|
||||
REM 使用:把整个文件夹拷到目标机器(或压缩成 zip 发送),
|
||||
REM 双击文件夹里的 Boss直聘AI投递-%APP_VERSION%.exe 运行。
|
||||
REM ============================================================
|
||||
set APP_VERSION=1.11
|
||||
set APP_VERSION=1.17
|
||||
|
||||
echo [1/2] 安装打包依赖...
|
||||
pip install pyinstaller PySide6 --quiet
|
||||
|
||||
+183
-26
@@ -7,6 +7,7 @@ Boss 激活自动化模块(单机功能,低痕迹 CDP 版)
|
||||
status-read=[已读] / status-delivery=[送达])与预览文本 .last-msg-text;
|
||||
- 点击联系人后右侧 .chat-conversation 渲染 .message-content,
|
||||
消息条目 li.message-item(我发出的带 .item-myself),正文 .text-content;
|
||||
- 输入:div#chat-input[contenteditable=true](.message-controls 内,非 textarea);
|
||||
- 发送:button.btn-send。
|
||||
合成 el.click() 对列表项无效,必须 Input.dispatchMouseEvent 可信点击。
|
||||
"""
|
||||
@@ -31,6 +32,14 @@ STATUS_MAP = {
|
||||
}
|
||||
# 视为"对方未读"的状态([送达]=对方还没看;页面若出现字面[未读]同样命中)
|
||||
UNREAD_STATUS = {"送达", "未读"}
|
||||
# 视为"已读"的状态
|
||||
READ_STATUS = {"已读"}
|
||||
# 消息状态过滤选项:值 → 允许通过的状态集合(None=不限)
|
||||
STATUS_FILTERS = {
|
||||
"unread": UNREAD_STATUS,
|
||||
"read": READ_STATUS,
|
||||
"all": None,
|
||||
}
|
||||
|
||||
# 读取左侧联系人列表(实测 DOM)
|
||||
_LIST_JS = """(() => [...new Set([...document.querySelectorAll('.friend-content-warp')]
|
||||
@@ -62,7 +71,7 @@ _LAST_MINE_JS = """(() => {
|
||||
return el ? el.innerText.trim() : '';
|
||||
})()"""
|
||||
|
||||
# 发送按钮坐标(实测:button.btn-send)
|
||||
# 发送按钮坐标(实测:button.btn-send,每次实时计算不缓存)
|
||||
_SEND_BTN_JS = """(() => {
|
||||
const b = document.querySelector('button.btn-send');
|
||||
if (!b || b.offsetHeight <= 0) return null;
|
||||
@@ -71,16 +80,92 @@ _SEND_BTN_JS = """(() => {
|
||||
disabled: !!b.disabled});
|
||||
})()"""
|
||||
|
||||
# 输入框定位(实测:聊天页真实输入框是 contenteditable 的 div#chat-input,
|
||||
# 位于 .message-controls > .chat-editor > .editor-container;
|
||||
# 页面上另有 0×0 的 textarea.input 属无关隐藏元素,不作首选;坐标每次实时计算)
|
||||
_INPUT_BOX_JS = """(() => {
|
||||
const ta = document.querySelector('#chat-input')
|
||||
|| document.querySelector('.chat-conversation [contenteditable="true"]')
|
||||
|| document.querySelector('.editor-container [contenteditable="true"]')
|
||||
|| [...document.querySelectorAll('[contenteditable="true"]')]
|
||||
.find(e => e.offsetHeight > 0)
|
||||
|| null;
|
||||
if (!ta) return null;
|
||||
const r = ta.getBoundingClientRect();
|
||||
return JSON.stringify({x: r.x + r.width / 2, y: r.y + r.height / 2,
|
||||
visible: r.width > 0 && r.height > 0,
|
||||
kind: ta.tagName.toLowerCase()});
|
||||
})()"""
|
||||
|
||||
# 输入框不可见时的 JS 聚焦兜底(可信 insertText 只认焦点,不认尺寸)
|
||||
_FOCUS_INPUT_JS = """(() => {
|
||||
const ta = document.querySelector('#chat-input')
|
||||
|| document.querySelector('.chat-conversation [contenteditable="true"]')
|
||||
|| document.querySelector('.editor-container [contenteditable="true"]')
|
||||
|| [...document.querySelectorAll('[contenteditable="true"]')]
|
||||
.find(e => e.offsetHeight > 0)
|
||||
|| null;
|
||||
if (!ta) return false;
|
||||
ta.focus();
|
||||
return document.activeElement === ta;
|
||||
})()"""
|
||||
|
||||
# 左侧列表滚动(加载更多联系人)
|
||||
# 步长动态计算:取滚动容器自身可视高度的 80%(不同分辨率/缩放下均不会跳过头)
|
||||
_LIST_SCROLL_JS = """(() => {
|
||||
const el = document.querySelector('.user-list-content')
|
||||
|| document.querySelector('.user-list')
|
||||
|| document.querySelector('.chat-content');
|
||||
if (!el) return -1;
|
||||
el.scrollTop += 480;
|
||||
el.scrollTop += Math.max(240, Math.round(el.clientHeight * 0.8));
|
||||
return el.scrollTop;
|
||||
})()"""
|
||||
|
||||
# 按姓名在当前 DOM 重取联系人最新可点坐标(发送后列表会重排,快照坐标必失效;
|
||||
# inView=false 表示元素在可视区外,可信点击会落空,必须先滚入视口;
|
||||
# 可视范围动态取自滚动容器自身的 rect(顶部自动避开搜索栏/标签头,底部取容器高度),
|
||||
# 不依赖窗口分辨率,任何屏幕/缩放比下均成立;
|
||||
# 传入姓名由 Python 侧 json.dumps 拼接)
|
||||
_LOCATE_ITEM_JS = """(name) => {
|
||||
const lis = [...new Set([...document.querySelectorAll('.friend-content-warp')]
|
||||
.map(w => w.closest('li')).filter(Boolean))];
|
||||
const scroller = document.querySelector('.user-list-content')
|
||||
|| document.querySelector('.user-list');
|
||||
const sr = scroller ? scroller.getBoundingClientRect() : null;
|
||||
const top = sr ? Math.max(0, sr.top) : 0;
|
||||
const bottom = sr ? Math.min(window.innerHeight, sr.bottom) : window.innerHeight;
|
||||
for (const li of lis) {
|
||||
const nm = li.querySelector('.name-text');
|
||||
if (!nm || nm.innerText.trim() !== name) continue;
|
||||
const fc = li.querySelector('.friend-content');
|
||||
const r = fc ? fc.getBoundingClientRect() : null;
|
||||
if (!r || r.height <= 0) continue;
|
||||
return JSON.stringify({x: r.x + r.width / 2, y: r.y + r.height / 2,
|
||||
inView: r.y >= top && r.y + r.height <= bottom});
|
||||
}
|
||||
return null;
|
||||
}"""
|
||||
|
||||
# 把指定联系人滚入可视区(列表一次性渲染全部条目,视口外坐标点击必落空)
|
||||
_BRING_INTO_VIEW_JS = """(name) => {
|
||||
const lis = [...new Set([...document.querySelectorAll('.friend-content-warp')]
|
||||
.map(w => w.closest('li')).filter(Boolean))];
|
||||
for (const li of lis) {
|
||||
const nm = li.querySelector('.name-text');
|
||||
if (!nm || nm.innerText.trim() !== name) continue;
|
||||
li.scrollIntoView({block: 'center'});
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}"""
|
||||
|
||||
# 当前会话区头部姓名(点击后校验是否切到目标会话,防发错人)
|
||||
_CONV_NAME_JS = """(() => {
|
||||
const el = document.querySelector('.chat-conversation .top-info-content .name-text')
|
||||
|| document.querySelector('.chat-conversation .name-text');
|
||||
return el ? el.innerText.trim() : '';
|
||||
})()"""
|
||||
|
||||
|
||||
def similarity(a: str, b: str) -> float:
|
||||
"""两段文本的相似度(0~1,difflib 序列比对)"""
|
||||
@@ -110,7 +195,8 @@ class Activator:
|
||||
# 启停控制
|
||||
# ------------------------------------------------------------------
|
||||
def start(self, match_text: str, threshold: float, reply_message: str,
|
||||
max_count: int = 20, dry_run: bool = False) -> None:
|
||||
max_count: int = 20, dry_run: bool = False,
|
||||
status_filter: str = "unread") -> None:
|
||||
if self.is_running:
|
||||
logger.warning("已有激活任务在运行")
|
||||
return
|
||||
@@ -119,13 +205,16 @@ class Activator:
|
||||
self.reply_message = reply_message.strip()
|
||||
self.max_count = max_count
|
||||
self.dry_run = dry_run
|
||||
# 消息状态过滤(非法取值回退默认"仅未读",与原行为一致)
|
||||
self.status_filter = status_filter if status_filter in STATUS_FILTERS else "unread"
|
||||
|
||||
self._stop_event.clear()
|
||||
self.is_running = True
|
||||
self.stats = {"scanned": 0, "sent": 0, "skipped": 0, "current": "初始化..."}
|
||||
self._thread = threading.Thread(target=self._run, daemon=True)
|
||||
self._thread.start()
|
||||
logger.success(f"Boss 激活任务已启动(阈值 {self.threshold:.0%},"
|
||||
logger.success(f"Boss 激活任务已启动(状态过滤={self.status_filter},"
|
||||
f"阈值 {self.threshold:.0%},"
|
||||
f"上限 {self.max_count},试跑={self.dry_run})")
|
||||
|
||||
def stop(self) -> None:
|
||||
@@ -147,6 +236,9 @@ class Activator:
|
||||
# ------------------------------------------------------------------
|
||||
def _run(self):
|
||||
processed: set[str] = set()
|
||||
# 本次任务已发送过的联系人姓名(发送后列表重排、预览变化,
|
||||
# 同一人会被当成“新联系人”重新出现,按姓名排除防重复发送)
|
||||
self._sent_names: set[str] = set()
|
||||
try:
|
||||
self.manager.ensure_browser_started()
|
||||
self._tab = self.cdp.open_tab(CHAT_PAGE)
|
||||
@@ -160,7 +252,8 @@ class Activator:
|
||||
break
|
||||
items = self._read_list()
|
||||
candidates = [it for it in items
|
||||
if self._item_key(it) not in processed]
|
||||
if self._item_key(it) not in processed
|
||||
and (it.get("name") or "") not in self._sent_names]
|
||||
logger.debug(f"联系人列表读取:共 {len(items)} 条,待处理 {len(candidates)} 条")
|
||||
if not candidates:
|
||||
no_new += 1
|
||||
@@ -218,6 +311,50 @@ class Activator:
|
||||
"""联系人去重键:姓名 + 缩略预览"""
|
||||
return f"{it.get('name', '')}|{it.get('preview', '')[:20]}"
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# 实时定位与会话校验(防点错人/读旧会话)
|
||||
# ------------------------------------------------------------------
|
||||
def _locate_fresh(self, name: str) -> dict | None:
|
||||
"""按姓名在当前 DOM 重取最新可点坐标与可视状态。
|
||||
列表在发送后会重排,快照坐标不可信,每次点击前必须重取。"""
|
||||
expr = f"({_LOCATE_ITEM_JS})({json.dumps(name)})"
|
||||
raw = self._sess.eval_js(expr)
|
||||
if not raw:
|
||||
return None
|
||||
return json.loads(raw)
|
||||
|
||||
def _bring_into_view(self, name: str) -> bool:
|
||||
"""把联系人滚入可视区(列表全量渲染,视口外点击必落空)"""
|
||||
expr = f"({_BRING_INTO_VIEW_JS})({json.dumps(name)})"
|
||||
return self._sess.eval_js(expr) is True
|
||||
|
||||
def _conv_name(self) -> str:
|
||||
"""当前会话区头部姓名"""
|
||||
return (self._sess.eval_js(_CONV_NAME_JS) or "").strip()
|
||||
|
||||
def _enter_conversation(self, name: str) -> bool:
|
||||
"""点击进入目标会话并校验切换成功(最多 3 次)。
|
||||
视口外的联系人先滚入可视区再点击;
|
||||
校验不通过绝不允许后续读消息/发送,从根源上防发错人。"""
|
||||
for attempt in range(3):
|
||||
loc = self._locate_fresh(name)
|
||||
if not loc:
|
||||
logger.debug(f"当前列表找不到联系人(第{attempt + 1}次):{name}")
|
||||
return False
|
||||
if not loc.get("inView"):
|
||||
# 视口外:滚入可视区后重取坐标(滚动会改变所有条目坐标)
|
||||
self._bring_into_view(name)
|
||||
time.sleep(random.uniform(0.6, 1.0))
|
||||
loc = self._locate_fresh(name) or loc
|
||||
self._sess.human_click(loc["x"], loc["y"])
|
||||
time.sleep(random.uniform(1.8, 2.8))
|
||||
cur = self._conv_name()
|
||||
if cur == name:
|
||||
return True
|
||||
logger.warning(f"会话未切到目标(第{attempt + 1}次,当前={cur or '空'}):{name}")
|
||||
time.sleep(random.uniform(0.8, 1.5))
|
||||
return False
|
||||
|
||||
# ------------------------------------------------------------------
|
||||
# 单联系人处理:未读过滤 → 进入会话 → 最后一条消息 → 相似度 → 发送
|
||||
# ------------------------------------------------------------------
|
||||
@@ -227,15 +364,19 @@ class Activator:
|
||||
self.stats["scanned"] += 1
|
||||
self.stats["current"] = f"查看:{name}({status or '无状态'})"
|
||||
|
||||
# 条件1:最后一条消息必须是未读([已读]/对方发来的消息直接跳过)
|
||||
if status not in UNREAD_STATUS:
|
||||
# 条件1:最后一条消息状态须符合所选过滤(仅未读/仅已读/不限)
|
||||
allowed = STATUS_FILTERS[self.status_filter]
|
||||
if allowed is not None and status not in allowed:
|
||||
self.stats["skipped"] += 1
|
||||
logger.debug(f"状态[{status or '无'}]非未读,跳过:{name}")
|
||||
logger.debug(f"状态[{status or '无'}]不符合所选过滤"
|
||||
f"({self.status_filter}),跳过:{name}")
|
||||
return
|
||||
|
||||
# 条件2:点击进入会话,读取真实消息内容
|
||||
self._sess.human_click(item["x"], item["y"])
|
||||
time.sleep(random.uniform(1.8, 2.8))
|
||||
# 条件2:点击进入会话(实时重取坐标 + 校验会话切换,防点错人/读旧会话)
|
||||
if not self._enter_conversation(name):
|
||||
self.stats["skipped"] += 1
|
||||
logger.warning(f"无法进入目标会话,跳过:{name}")
|
||||
return
|
||||
last_msg = (self._sess.eval_js(_LAST_MINE_JS) or "").strip()
|
||||
if not last_msg:
|
||||
# 会话里没读到我发出的消息时退回缩略预览
|
||||
@@ -262,32 +403,48 @@ class Activator:
|
||||
|
||||
if self._send_reply(name):
|
||||
self.stats["sent"] += 1
|
||||
self._sent_names.add(name)
|
||||
self._sleep(5, 10)
|
||||
|
||||
def _send_reply(self, name: str) -> bool:
|
||||
"""定位输入框聚焦 → 可信输入 → 点发送按钮"""
|
||||
"""定位输入框聚焦 → 可信输入 → 点发送按钮(坐标每次实时计算,不缓存)"""
|
||||
self.stats["current"] = f"发送激活消息:{name}"
|
||||
|
||||
# 输入框(会话打开后才渲染,需等待)
|
||||
input_xy = None
|
||||
for _ in range(5):
|
||||
input_xy = self._sess.eval_js(
|
||||
"(() => { const ta = document.querySelector('.chat-conversation textarea')"
|
||||
" || document.querySelector('textarea.input');"
|
||||
" if (!ta || ta.offsetHeight <= 0) return null;"
|
||||
" const r = ta.getBoundingClientRect();"
|
||||
" return JSON.stringify({x: r.x + r.width / 2, y: r.y + r.height / 2}); })()")
|
||||
if input_xy:
|
||||
# 输入框(会话打开后异步渲染,实测可能延迟 10s+,需充分等待)
|
||||
input_info = None
|
||||
for _ in range(15):
|
||||
if self._should_stop():
|
||||
return False
|
||||
input_info = self._sess.eval_js(_INPUT_BOX_JS)
|
||||
if input_info:
|
||||
break
|
||||
time.sleep(1)
|
||||
if not input_xy:
|
||||
if not input_info:
|
||||
logger.warning(f"未找到可用输入框,跳过:{name}")
|
||||
self.stats["skipped"] += 1
|
||||
return False
|
||||
|
||||
p = json.loads(input_xy)
|
||||
self._sess.human_click(p["x"], p["y"])
|
||||
time.sleep(random.uniform(0.4, 0.8))
|
||||
p = json.loads(input_info)
|
||||
# 发送前二次确认:输入框可能等了十几秒才出现,期间会话若已变化,
|
||||
# 此处不拦就会把消息发到错误的人(防发错人最后一道闸)
|
||||
cur = self._conv_name()
|
||||
if cur and cur != name:
|
||||
logger.warning(f"发送前发现会话已变化(当前={cur}),放弃发送:{name}")
|
||||
self.stats["skipped"] += 1
|
||||
return False
|
||||
if p.get("visible"):
|
||||
# 可见:可信点击实时计算的坐标中心聚焦
|
||||
self._sess.human_click(p["x"], p["y"])
|
||||
time.sleep(random.uniform(0.4, 0.8))
|
||||
else:
|
||||
# 0×0 隐藏输入框(新版页面实测存在):JS 聚焦,
|
||||
# 后续 Input.insertText 仍为浏览器级可信输入
|
||||
focused = self._sess.eval_js(_FOCUS_INPUT_JS)
|
||||
if not focused:
|
||||
logger.warning(f"输入框无法聚焦,跳过:{name}")
|
||||
self.stats["skipped"] += 1
|
||||
return False
|
||||
time.sleep(random.uniform(0.3, 0.6))
|
||||
|
||||
# 可信文本输入(浏览器级 input 事件,与真人键入无异)
|
||||
self._sess.call("Input.insertText", {"text": self.reply_message})
|
||||
|
||||
@@ -0,0 +1,114 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""
|
||||
第三轮实测:以可见的 button.btn-send 为锚点,探测输入区真实结构。
|
||||
只读 DOM,绝不输入与发送。
|
||||
前提:浏览器已开聊天页(/web/geek/chat)且左侧已点开任意一个会话。
|
||||
用法:python -m client.debug_chat_probe3
|
||||
产物:client/data/debug/chat_conv_probe3.txt
|
||||
"""
|
||||
import json
|
||||
import time
|
||||
from pathlib import Path
|
||||
|
||||
import requests
|
||||
import websocket
|
||||
|
||||
CDP = "http://127.0.0.1:9222"
|
||||
OUT = Path(__file__).resolve().parent / "data" / "debug" / "chat_conv_probe3.txt"
|
||||
|
||||
_msg_id = 0
|
||||
|
||||
|
||||
def send(ws, method, params=None):
|
||||
global _msg_id
|
||||
_msg_id += 1
|
||||
ws.send(json.dumps({"id": _msg_id, "method": method, "params": params or {}}))
|
||||
while True:
|
||||
msg = json.loads(ws.recv())
|
||||
if msg.get("id") == _msg_id:
|
||||
return msg.get("result") or {}
|
||||
|
||||
|
||||
def evaluate(ws, expression):
|
||||
return send(ws, "Runtime.evaluate",
|
||||
{"expression": expression, "returnByValue": True}) \
|
||||
.get("result", {}).get("value")
|
||||
|
||||
|
||||
PROBE_JS = """(() => {
|
||||
const fs = [];
|
||||
// 1) 以发送按钮为锚点
|
||||
const btn = document.querySelector('button.btn-send');
|
||||
if (!btn) { fs.push('无 button.btn-send'); }
|
||||
else {
|
||||
const r = btn.getBoundingClientRect();
|
||||
fs.push('== btn-send 可见=' + (btn.offsetHeight > 0)
|
||||
+ ' rect=(' + Math.round(r.x) + ',' + Math.round(r.y) + ','
|
||||
+ Math.round(r.width) + 'x' + Math.round(r.height) + ') disabled=' + btn.disabled);
|
||||
// 向上找容器并 dump 结构
|
||||
let wrap = btn.parentElement;
|
||||
for (let i = 0; i < 3 && wrap; i++) wrap = wrap.parentElement;
|
||||
fs.push('== btn 上溯3层容器 class=' + (wrap ? String(wrap.className).slice(0, 120) : 'null'));
|
||||
if (wrap) fs.push('HTML: ' + wrap.outerHTML.replace(/\\s+/g, ' ').slice(0, 3000));
|
||||
}
|
||||
// 2) 全页可编辑元素
|
||||
const ces = [...document.querySelectorAll('[contenteditable=""],[contenteditable="true"]')]
|
||||
.filter(e => e.offsetHeight > 0);
|
||||
fs.push('== 可见 contenteditable:' + ces.length + ' ==');
|
||||
ces.forEach((e, i) => {
|
||||
const r = e.getBoundingClientRect();
|
||||
fs.push('--- ce' + i + ' <' + e.tagName + ' class=' + String(e.className).slice(0, 80)
|
||||
+ '> rect=(' + Math.round(r.x) + ',' + Math.round(r.y) + ','
|
||||
+ Math.round(r.width) + 'x' + Math.round(r.height) + ')'
|
||||
+ ' text=' + (e.innerText || '').slice(0, 40).replace(/\\n/g, ' '));
|
||||
});
|
||||
// 3) 全页 input/textarea(含隐藏,附 display/visibility 样式)
|
||||
const eds = [...document.querySelectorAll('textarea,input')];
|
||||
fs.push('== input/textarea 总数:' + eds.length + ' ==');
|
||||
eds.forEach((e, i) => {
|
||||
const cs = getComputedStyle(e);
|
||||
const r = e.getBoundingClientRect();
|
||||
fs.push('--- ed' + i + ' <' + e.tagName + ' class=' + String(e.className).slice(0, 60)
|
||||
+ ' ph=' + (e.placeholder || '').slice(0, 30)
|
||||
+ '> display=' + cs.display + ' visibility=' + cs.visibility
|
||||
+ ' rect=(' + Math.round(r.x) + ',' + Math.round(r.y) + ','
|
||||
+ Math.round(r.width) + 'x' + Math.round(r.height) + ')');
|
||||
});
|
||||
// 4) iframe 里是否藏着输入框
|
||||
const ifs = [...document.querySelectorAll('iframe')];
|
||||
fs.push('== iframe:' + ifs.length + ' ==');
|
||||
ifs.forEach((f, i) => fs.push('--- if' + i + ' src=' + (f.src || '').slice(0, 80)));
|
||||
return fs.join('\\n');
|
||||
})()"""
|
||||
|
||||
|
||||
def main():
|
||||
OUT.parent.mkdir(parents=True, exist_ok=True)
|
||||
lines = []
|
||||
|
||||
def log(*a):
|
||||
s = " ".join(str(x) for x in a)
|
||||
lines.append(s)
|
||||
OUT.write_text("\n".join(lines), encoding="utf-8")
|
||||
|
||||
tab = None
|
||||
for t in requests.get(f"{CDP}/json", timeout=5).json():
|
||||
if "/web/geek/chat" in (t.get("url") or "") and t.get("webSocketDebuggerUrl"):
|
||||
tab = t
|
||||
break
|
||||
if not tab:
|
||||
log("== 没有聊天页标签,请先开聊天页 ==")
|
||||
return
|
||||
|
||||
requests.get(f"{CDP}/json/activate/{tab['id']}", timeout=5)
|
||||
time.sleep(1)
|
||||
ws = websocket.create_connection(tab["webSocketDebuggerUrl"], timeout=30)
|
||||
try:
|
||||
log(evaluate(ws, PROBE_JS) or "探测为空")
|
||||
finally:
|
||||
ws.close()
|
||||
log("== DONE ==")
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,73 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""只读实测:在真实聊天页执行 activator.py 内的 _INPUT_BOX_JS / _FOCUS_INPUT_JS / _SEND_BTN_JS
|
||||
(聚焦只验证可达性,绝不输入、绝不点击、绝不发送)"""
|
||||
import json
|
||||
import re
|
||||
import time
|
||||
from pathlib import Path
|
||||
|
||||
import requests
|
||||
import websocket
|
||||
|
||||
CDP = "http://127.0.0.1:9222"
|
||||
src = Path(__file__).resolve().parent / "browser" / "activator.py"
|
||||
text = src.read_text(encoding="utf-8")
|
||||
|
||||
def extract(name):
|
||||
return re.search(rf'{name} = """(.*?)"""', text, re.S).group(1)
|
||||
|
||||
INPUT_JS = extract("_INPUT_BOX_JS")
|
||||
SEND_JS = extract("_SEND_BTN_JS")
|
||||
# 聚焦验证:聚焦后记录并还原(只读会话内容不变,聚焦无副作用)
|
||||
FOCUS_CHECK_JS = extract("_FOCUS_INPUT_JS")
|
||||
|
||||
_msg_id = 0
|
||||
|
||||
def call(ws, method, params=None):
|
||||
global _msg_id
|
||||
_msg_id += 1
|
||||
ws.send(json.dumps({"id": _msg_id, "method": method, "params": params or {}}))
|
||||
while True:
|
||||
m = json.loads(ws.recv())
|
||||
if m.get("id") == _msg_id:
|
||||
return m.get("result") or {}
|
||||
|
||||
def ev(ws, expr):
|
||||
return call(ws, "Runtime.evaluate",
|
||||
{"expression": expr, "returnByValue": True}) \
|
||||
.get("result", {}).get("value")
|
||||
|
||||
def main():
|
||||
tab = None
|
||||
for t in requests.get(f"{CDP}/json", timeout=5).json():
|
||||
if "/web/geek/chat" in (t.get("url") or "") and t.get("webSocketDebuggerUrl"):
|
||||
tab = t
|
||||
break
|
||||
if not tab:
|
||||
print("FAIL 未找到聊天页标签")
|
||||
return
|
||||
ws = websocket.create_connection(tab["webSocketDebuggerUrl"], timeout=30)
|
||||
try:
|
||||
r1 = ev(ws, INPUT_JS)
|
||||
print("输入框定位:", r1)
|
||||
ok1 = False
|
||||
if r1:
|
||||
p = json.loads(r1)
|
||||
# 命中真实输入框:可见的 contenteditable div,坐标为正(坐标每次实时计算)
|
||||
ok1 = (p.get("visible") is True and p.get("kind") == "div"
|
||||
and p["x"] > 0 and p["y"] > 0)
|
||||
print("PASS" if ok1 else "FAIL", "真实页面输入框可定位且可见")
|
||||
|
||||
r2 = ev(ws, SEND_JS)
|
||||
print("发送按钮:", r2)
|
||||
ok2 = bool(r2)
|
||||
print("PASS" if ok2 else "FAIL", "真实页面发送按钮可定位")
|
||||
|
||||
r3 = ev(ws, FOCUS_CHECK_JS)
|
||||
print("聚焦检查:", r3)
|
||||
print("PASS" if r3 is True else "FAIL", "输入框可聚焦")
|
||||
finally:
|
||||
ws.close()
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,89 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""只读实测:验证 _LIST_JS / _LOCATE_ITEM_JS / _CONV_NAME_JS 在真实页面的行为
|
||||
绝不点击、绝不输入、绝不发送"""
|
||||
import json
|
||||
import re
|
||||
from pathlib import Path
|
||||
|
||||
import requests
|
||||
import websocket
|
||||
|
||||
CDP = "http://127.0.0.1:9222"
|
||||
src = (Path(__file__).resolve().parent / "browser" / "activator.py").read_text(encoding="utf-8")
|
||||
|
||||
def extract(name):
|
||||
return re.search(rf'{name} = """(.*?)"""', src, re.S).group(1)
|
||||
|
||||
LIST_JS = extract("_LIST_JS")
|
||||
LOCATE_JS = extract("_LOCATE_ITEM_JS")
|
||||
CONV_JS = extract("_CONV_NAME_JS")
|
||||
|
||||
_msg_id = 0
|
||||
|
||||
def call(ws, method, params=None):
|
||||
global _msg_id
|
||||
_msg_id += 1
|
||||
ws.send(json.dumps({"id": _msg_id, "method": method, "params": params or {}}))
|
||||
while True:
|
||||
m = json.loads(ws.recv())
|
||||
if m.get("id") == _msg_id:
|
||||
return m.get("result") or {}
|
||||
|
||||
def ev(ws, expr):
|
||||
return call(ws, "Runtime.evaluate",
|
||||
{"expression": expr, "returnByValue": True}) \
|
||||
.get("result", {}).get("value")
|
||||
|
||||
def main():
|
||||
tab = next((t for t in requests.get(f"{CDP}/json", timeout=5).json()
|
||||
if "/web/geek/chat" in (t.get("url") or "")
|
||||
and t.get("webSocketDebuggerUrl")), None)
|
||||
if not tab:
|
||||
print("FAIL 未找到聊天页标签")
|
||||
return
|
||||
ws = websocket.create_connection(tab["webSocketDebuggerUrl"], timeout=30)
|
||||
fails = []
|
||||
try:
|
||||
# 1) 列表可读(returnByValue 时可能直接是 list)
|
||||
raw_list = ev(ws, LIST_JS)
|
||||
items = raw_list if isinstance(raw_list, list) else json.loads(raw_list or "[]")
|
||||
visible = [it for it in items if it.get("visible")]
|
||||
names = [it.get("name") for it in visible if it.get("name")]
|
||||
print(f"列表可见联系人 {len(visible)} 个:{names[:8]}")
|
||||
if not names:
|
||||
fails.append("列表为空")
|
||||
|
||||
# 2) 当前会话头部姓名可读
|
||||
cur = ev(ws, CONV_JS)
|
||||
print(f"当前会话头部姓名:{cur!r}")
|
||||
if not cur:
|
||||
fails.append("会话头部姓名为空(选择器可能失配!)")
|
||||
|
||||
# 3) 按真实存在的姓名重定位 → 必须返回坐标
|
||||
target = cur if cur in names else (names[0] if names else None)
|
||||
if target:
|
||||
raw = ev(ws, f"({LOCATE_JS})({json.dumps(target)})")
|
||||
print(f"重定位[{target}]:{raw}")
|
||||
if not raw:
|
||||
# 当前会话的人可能不在可见列表(被过滤等),用列表第一人再试
|
||||
raw2 = ev(ws, f"({LOCATE_JS})({json.dumps(names[0])})")
|
||||
print(f"重定位[{names[0]}]:{raw2}")
|
||||
if not raw2:
|
||||
fails.append("重定位失败")
|
||||
else:
|
||||
p = json.loads(raw)
|
||||
if not (p["x"] > 0 and p["y"] > 0):
|
||||
fails.append("重定位坐标非正")
|
||||
|
||||
# 4) 不存在的姓名 → 必须返回 null(防点错人的前提)
|
||||
raw3 = ev(ws, f"({LOCATE_JS})({json.dumps('不存在的人Zz9')})")
|
||||
print(f"重定位[不存在的人]:{raw3}")
|
||||
if raw3 not in (None, "", "null"):
|
||||
fails.append("幽灵姓名竟返回了坐标!")
|
||||
finally:
|
||||
ws.close()
|
||||
print()
|
||||
print("全部通过" if not fails else f"失败:{fails}")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,109 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""实测:视口外联系人 定位→滚入视口→重定位 全流程
|
||||
唯一副作用:会滚动左侧列表位置(无点击、无输入、无发送)"""
|
||||
import json
|
||||
import re
|
||||
from pathlib import Path
|
||||
|
||||
import requests
|
||||
import websocket
|
||||
|
||||
CDP = "http://127.0.0.1:9222"
|
||||
src = (Path(__file__).resolve().parent / "browser" / "activator.py").read_text(encoding="utf-8")
|
||||
|
||||
def extract(name):
|
||||
return re.search(rf'{name} = """(.*?)"""', src, re.S).group(1)
|
||||
|
||||
LIST_JS = extract("_LIST_JS")
|
||||
LOCATE_JS = extract("_LOCATE_ITEM_JS")
|
||||
BRING_JS = extract("_BRING_INTO_VIEW_JS")
|
||||
|
||||
_msg_id = 0
|
||||
|
||||
def call(ws, method, params=None):
|
||||
global _msg_id
|
||||
_msg_id += 1
|
||||
ws.send(json.dumps({"id": _msg_id, "method": method, "params": params or {}}))
|
||||
while True:
|
||||
m = json.loads(ws.recv())
|
||||
if m.get("id") == _msg_id:
|
||||
return m.get("result") or {}
|
||||
|
||||
def ev(ws, expr):
|
||||
return call(ws, "Runtime.evaluate",
|
||||
{"expression": expr, "returnByValue": True}) \
|
||||
.get("result", {}).get("value")
|
||||
|
||||
VIEWPORT_JS = "(() => window.innerHeight)()"
|
||||
SCROLL_INFO_JS = """(() => {
|
||||
const el = document.querySelector('.user-list-content')
|
||||
|| document.querySelector('.user-list');
|
||||
if (!el) return null;
|
||||
return {clientHeight: el.clientHeight, scrollTop: el.scrollTop,
|
||||
scrollHeight: el.scrollHeight};
|
||||
})()"""
|
||||
|
||||
def main():
|
||||
tab = next((t for t in requests.get(f"{CDP}/json", timeout=5).json()
|
||||
if "/web/geek/chat" in (t.get("url") or "")
|
||||
and t.get("webSocketDebuggerUrl")), None)
|
||||
if not tab:
|
||||
print("FAIL 未找到聊天页标签")
|
||||
return
|
||||
ws = websocket.create_connection(tab["webSocketDebuggerUrl"], timeout=30)
|
||||
fails = []
|
||||
try:
|
||||
viewport = ev(ws, VIEWPORT_JS)
|
||||
print(f"当前视口高度(动态):{viewport}")
|
||||
sc = ev(ws, SCROLL_INFO_JS)
|
||||
print(f"滚动容器:{sc}")
|
||||
# 滚动步长动态性验证:新步长 = max(240, clientHeight*0.8),不再固定 480
|
||||
if sc:
|
||||
expected = max(240, round(sc["clientHeight"] * 0.8))
|
||||
print(f"预期翻页步长(动态计算):{expected}")
|
||||
raw = ev(ws, LIST_JS)
|
||||
items = raw if isinstance(raw, list) else json.loads(raw or "[]")
|
||||
names = [it.get("name") for it in items
|
||||
if it.get("visible") and it.get("name")]
|
||||
first, last = names[0], names[-1]
|
||||
print(f"列表 {len(names)} 人,首位={first},末位={last}")
|
||||
|
||||
# 1) 首位联系人:应在视口内
|
||||
loc1 = json.loads(ev(ws, f"({LOCATE_JS})({json.dumps(first)})"))
|
||||
print(f"定位[{first}]:{loc1}")
|
||||
if not (loc1 and loc1.get("inView") is True):
|
||||
fails.append("首位应在视口内")
|
||||
|
||||
# 2) 末位联系人:应判为视口外(探针实测 y=3209 > 视口 825)
|
||||
loc2 = json.loads(ev(ws, f"({LOCATE_JS})({json.dumps(last)})"))
|
||||
print(f"定位[{last}]:{loc2}")
|
||||
if not loc2:
|
||||
fails.append("末位定位失败")
|
||||
elif loc2.get("inView") is True:
|
||||
print("(末位恰在视口内,跳过滚动验证)")
|
||||
else:
|
||||
# 3) 滚入视口 → 重定位应变 inView=true 且 y 在视口内
|
||||
ok = ev(ws, f"({BRING_JS})({json.dumps(last)})")
|
||||
print(f"滚入视口[{last}]:{ok}")
|
||||
if ok is not True:
|
||||
fails.append("scrollIntoView 返回非 true")
|
||||
import time
|
||||
time.sleep(0.8)
|
||||
loc3 = json.loads(ev(ws, f"({LOCATE_JS})({json.dumps(last)})"))
|
||||
print(f"滚动后重定位[{last}]:{loc3}")
|
||||
if not (loc3 and loc3.get("inView") is True
|
||||
and 0 < loc3["y"] < viewport):
|
||||
fails.append("滚入视口后仍未进入可视区")
|
||||
# 还原:滚回首位,避免影响用户当前浏览位置
|
||||
ev(ws, f"({BRING_JS})({json.dumps(first)})")
|
||||
|
||||
# 4) 幽灵姓名
|
||||
if ev(ws, f"({BRING_JS})({json.dumps('不存在的人Zz9')})") is not False:
|
||||
fails.append("幽灵姓名滚入视口竟返回 true")
|
||||
finally:
|
||||
ws.close()
|
||||
print()
|
||||
print("全部通过" if not fails else f"失败:{fails}")
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -0,0 +1,93 @@
|
||||
# -*- coding: utf-8 -*-
|
||||
"""只读实测:找出左侧联系人列表的真正滚动容器
|
||||
原则:不修改任何 scrollTop,只读取结构信息"""
|
||||
import json
|
||||
from pathlib import Path
|
||||
|
||||
import requests
|
||||
import websocket
|
||||
|
||||
CDP = "http://127.0.0.1:9222"
|
||||
OUT = Path(__file__).resolve().parent / "data" / "debug" / "chat_scroll_probe.txt"
|
||||
|
||||
PROBE_JS = """(() => {
|
||||
const fs = [];
|
||||
// 1) 从首个联系人向上找所有"可滚动"祖先(overflow 允许滚动且可滚高度>0)
|
||||
const li = document.querySelector('.friend-content-warp');
|
||||
if (!li) { fs.push('无列表项'); return fs.join('\\n'); }
|
||||
let cur = li.parentElement;
|
||||
fs.push('== 自列表项向上的祖先链(含滚动能力) ==');
|
||||
let depth = 0;
|
||||
while (cur && depth < 10) {
|
||||
const cs = getComputedStyle(cur);
|
||||
const canScroll = /(auto|scroll|overlay)/.test(cs.overflowY)
|
||||
&& cur.scrollHeight > cur.clientHeight;
|
||||
fs.push(' d' + depth + ' <' + cur.tagName + ' class=' + String(cur.className).slice(0, 70)
|
||||
+ '> overflowY=' + cs.overflowY
|
||||
+ ' scrollH=' + cur.scrollHeight + ' clientH=' + cur.clientHeight
|
||||
+ ' scrollTop=' + Math.round(cur.scrollTop)
|
||||
+ (canScroll ? ' ← 可滚动' : ''));
|
||||
cur = cur.parentElement;
|
||||
depth++;
|
||||
}
|
||||
// 2) 现有 _LIST_SCROLL_JS 三个候选元素的状态对比
|
||||
fs.push('== 现有滚动候选元素现状 ==');
|
||||
['.user-list-content', '.user-list', '.chat-content'].forEach(sel => {
|
||||
const el = document.querySelector(sel);
|
||||
if (!el) { fs.push(' ' + sel + ' 不存在'); return; }
|
||||
const cs = getComputedStyle(el);
|
||||
fs.push(' ' + sel + ' overflowY=' + cs.overflowY
|
||||
+ ' scrollH=' + el.scrollHeight + ' clientH=' + el.clientHeight
|
||||
+ ' children=' + el.children.length);
|
||||
});
|
||||
// 3) li 总数与 ul 容器
|
||||
const lis = [...document.querySelectorAll('.friend-content-warp')]
|
||||
.map(w => w.closest('li')).filter(Boolean);
|
||||
fs.push('== li 总数:' + new Set(lis).size + ' ==');
|
||||
const ul = lis[0] ? lis[0].parentElement : null;
|
||||
fs.push('ul 容器:' + (ul ? '<' + ul.tagName + ' class=' + String(ul.className).slice(0, 60) + '>' : 'null'));
|
||||
// 4) 最后一个 li 的视口位置(判断是否在可视区外)
|
||||
const last = lis[lis.length - 1];
|
||||
if (last) {
|
||||
const r = last.getBoundingClientRect();
|
||||
fs.push('最后li rect: y=' + Math.round(r.y) + ' h=' + Math.round(r.height)
|
||||
+ ' viewportH=' + window.innerHeight);
|
||||
}
|
||||
return fs.join('\\n');
|
||||
})()"""
|
||||
|
||||
_msg_id = 0
|
||||
|
||||
def call(ws, method, params=None):
|
||||
global _msg_id
|
||||
_msg_id += 1
|
||||
ws.send(json.dumps({"id": _msg_id, "method": method, "params": params or {}}))
|
||||
while True:
|
||||
m = json.loads(ws.recv())
|
||||
if m.get("id") == _msg_id:
|
||||
return m.get("result") or {}
|
||||
|
||||
def main():
|
||||
OUT.parent.mkdir(parents=True, exist_ok=True)
|
||||
tab = next((t for t in requests.get(f"{CDP}/json", timeout=5).json()
|
||||
if "/web/geek/chat" in (t.get("url") or "")
|
||||
and t.get("webSocketDebuggerUrl")), None)
|
||||
out = []
|
||||
if not tab:
|
||||
out.append("== 没有聊天页标签 ==")
|
||||
else:
|
||||
ws = websocket.create_connection(tab["webSocketDebuggerUrl"], timeout=30)
|
||||
try:
|
||||
v = call(ws, "Runtime.evaluate",
|
||||
{"expression": PROBE_JS, "returnByValue": True}) \
|
||||
.get("result", {}).get("value")
|
||||
out.append(v or "探测为空")
|
||||
finally:
|
||||
ws.close()
|
||||
out.append("== DONE ==")
|
||||
text = "\n".join(out)
|
||||
OUT.write_text(text, encoding="utf-8")
|
||||
print(text)
|
||||
|
||||
if __name__ == "__main__":
|
||||
main()
|
||||
@@ -237,6 +237,7 @@ class ResumeUpdateReq(BaseModel):
|
||||
|
||||
class StartActivateReq(BaseModel):
|
||||
match_text: str # 匹配条件文本(最后一条消息与之比对)
|
||||
status_filter: str = "unread" # 消息状态过滤:unread=仅未读 / read=仅已读 / all=不限
|
||||
threshold: int = 80 # 相似度阈值(0-100)
|
||||
reply_message: str # 命中后发送的自定义消息
|
||||
max_count: int = 20 # 单次任务发送上限(0=不限)
|
||||
@@ -514,6 +515,8 @@ def stop_apply():
|
||||
def start_activate(req: StartActivateReq):
|
||||
if not req.match_text.strip():
|
||||
raise HTTPException(status_code=400, detail="请填写匹配条件文本")
|
||||
if req.status_filter not in ("unread", "read", "all"):
|
||||
raise HTTPException(status_code=400, detail="消息状态过滤取值非法")
|
||||
if not req.reply_message.strip():
|
||||
raise HTTPException(status_code=400, detail="请填写激活消息内容")
|
||||
if state.applicant and state.applicant.is_running:
|
||||
@@ -528,6 +531,7 @@ def start_activate(req: StartActivateReq):
|
||||
raise HTTPException(status_code=400, detail=str(e))
|
||||
activator.start(
|
||||
match_text=req.match_text,
|
||||
status_filter=req.status_filter,
|
||||
threshold=req.threshold / 100.0,
|
||||
reply_message=req.reply_message,
|
||||
max_count=req.max_count,
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
method: "POST",
|
||||
body: JSON.stringify({
|
||||
match_text,
|
||||
status_filter: $("actStatusFilter").value,
|
||||
threshold: parseInt($("actThreshold").value, 10) || 80,
|
||||
reply_message,
|
||||
max_count: parseInt($("actMaxCount").value, 10) || 0,
|
||||
|
||||
@@ -378,7 +378,7 @@ $('btnStartApply').addEventListener('click', async () => {
|
||||
salary_max: parseInt($('salaryMax').value) || null,
|
||||
min_score: parseInt($('minScore').value) || 65,
|
||||
boss_online_only: $('bossOnlineOnly').checked,
|
||||
allow_headhunter: $('allowHeadhunter').checked,
|
||||
allow_headhunter: false, // TODO: 猎头功能暂时隐藏(工作流有问题),恢复时改回 $('allowHeadhunter').checked
|
||||
daily_limit: parseInt($('dailyLimit').value) || 0,
|
||||
prompt: $('prompt').value.trim() || null,
|
||||
}),
|
||||
@@ -429,7 +429,8 @@ function fillApplyForm(t) {
|
||||
$('minScore').value = t.min_score || 65;
|
||||
$('dailyLimit').value = t.daily_limit || 30;
|
||||
$('bossOnlineOnly').checked = !!t.boss_online_only;
|
||||
$('allowHeadhunter').checked = !!t.allow_headhunter;
|
||||
// TODO: 猎头功能隐藏期间强制置为未勾选(忽略模板里的旧值)
|
||||
$('allowHeadhunter').checked = false;
|
||||
$('prompt').value = t.prompt || '';
|
||||
}
|
||||
|
||||
@@ -442,7 +443,8 @@ function collectTemplateFromForm() {
|
||||
min_score: parseInt($('minScore').value) || 65,
|
||||
daily_limit: parseInt($('dailyLimit').value) || 0,
|
||||
boss_online_only: $('bossOnlineOnly').checked,
|
||||
allow_headhunter: $('allowHeadhunter').checked,
|
||||
// TODO: 猎头功能隐藏期间保存模板时强制 false(恢复时改回 $('allowHeadhunter').checked)
|
||||
allow_headhunter: false,
|
||||
prompt: $('prompt').value.trim() || null,
|
||||
};
|
||||
}
|
||||
|
||||
@@ -142,7 +142,10 @@
|
||||
<label style="display:flex;align-items:center;gap:6px;margin:0;cursor:pointer;">
|
||||
<input type="checkbox" id="bossOnlineOnly" style="width:auto;"> 只投递 Boss 在线的
|
||||
</label>
|
||||
<label style="display:flex; align-items:center; gap:6px; margin-top:8px;">
|
||||
<!-- TODO: 猎头功能暂时隐藏——当前工作流有问题(猎头职位的识别/筛选流程未跑通),
|
||||
待工作流修复后再恢复展示。隐藏期间 allow_headhunter 在 app.js 中强制为 false,
|
||||
恢复时同步去掉此处 display:none 与 app.js 的三处强制值 -->
|
||||
<label style="display:none; align-items:center; gap:6px; margin-top:8px;">
|
||||
<input type="checkbox" id="allowHeadhunter" style="width:auto;"> 考虑猎头职位
|
||||
</label>
|
||||
</div>
|
||||
@@ -217,12 +220,20 @@
|
||||
<div id="activateMode" class="hidden">
|
||||
<section class="panel">
|
||||
<h2>Boss 激活</h2>
|
||||
<p class="hint">扫描消息页联系人:最后一条消息为未读、且内容达到下方匹配条件时,自动发送一条激活消息。单机功能,无需登录系统账号。</p>
|
||||
<p class="hint">扫描消息页联系人:最后一条消息符合所选状态、且内容达到下方匹配条件时,自动发送一条激活消息。单机功能,无需登录系统账号。</p>
|
||||
<div class="form-group">
|
||||
<label>匹配条件文本</label>
|
||||
<textarea id="actMatchText" rows="3" placeholder="输入要匹配的消息内容(与对方最后一条消息比对)"></textarea>
|
||||
</div>
|
||||
<div class="form-row">
|
||||
<div class="form-group">
|
||||
<label>消息状态过滤</label>
|
||||
<select id="actStatusFilter">
|
||||
<option value="unread" selected>仅未读([送达]/[未读])</option>
|
||||
<option value="read">仅已读([已读])</option>
|
||||
<option value="all">不限(已读+未读)</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label>相似度阈值(%)</label>
|
||||
<input type="number" id="actThreshold" value="80" min="0" max="100">
|
||||
@@ -310,8 +321,8 @@
|
||||
<!-- Toast 提示 -->
|
||||
<div class="toast" id="toast"></div>
|
||||
|
||||
<script src="/static/app.js?v=4"></script>
|
||||
<script src="/static/activate.js?v=4"></script>
|
||||
<script src="/static/app.js?v=6"></script>
|
||||
<script src="/static/activate.js?v=6"></script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user