claude解决edge页面劫持

Edge 浏览器已设置启动时恢复之前的页面。但忘记从几时开始,启动时总是会打开一个本地的页面,如 http://localhost:56583/,端口号每次都不同,最终都跳转到百度:https://www.baidu.com/?tn=15007414_8_dg,且带着一个奇怪的 ?tn= 参数,怀疑是有什么狗屄软件收了钱,在打广告。

之前在前 agent 时代,试过自己解决,如 1,但无果。

with Claude Code

今在本地命令行开 Claude Code 诊断,结论如下:

复制代码
---
Root Cause: Lenovo PCManager's BrowserPro.dll

Not a third-party malware --- it's Lenovo pre-installed bloatware earning
affiliate revenue from Baidu.

How it works (confirmed from binary analysis)

1. BrowserPro.dll (C:\Program Files (x86)\Lenovo\PCManager\5.0.30.7052\Mod
ules\ActiveProtection\apps\BrowserPro\) is loaded into explorer.exe as a
COM shell extension at login
2. It calls Windows' HTTP.sys kernel driver (HttpCreateRequestQueue,
HttpAddUrlToUrlGroup) to register a listener on a random localhost port ---
which is why the port changes every time
3. It calls ShellExecuteExW to force-open that localhost:{random port} URL
in your default browser (Edge)
4. The page it serves is exactly: <head><meta name='referrer'
content='no-referrer'/><script>location='https://discovery.lenovo.com.cn/h
ome/ilive/v1/c1'</script></head>
5. Lenovo's iLive server then forwards you to baidu.com/?tn=15007414_8_dg
--- where tn=15007414_8_dg is Lenovo's Baidu affiliate tracking ID. Lenovo
gets paid per visit.

The no-referrer tag is intentional to hide the affiliate chain.

---
How to stop it

Option 1 --- Cleanest: Uninstall Lenovo PCManager
▎ Search "Apps" → find Lenovo PC Manager → Uninstall

Option 2 --- Disable via PCManager settings (if you want to keep it)
▎ Open Lenovo PC Manager → Security/Protection → look for "Browser
Protection" or "Active Protection" and disable it

Option 3 --- Block the service manually
# In PowerShell as Administrator:
sc stop LenovoPcManagerService
sc config LenovoPcManagerService start= disabled
sc stop LISFService
sc config LISFService start= disabled

Note: The registry key
  HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\LenovoDisabled suggests
  someone previously tried to disable Lenovo startup items on this machine,
  but PCManager still runs as a service. After disabling, kill the
  explorer.exe process or restart to clear the current HTTP.sys
  registration.

This is the same class of behavior as Lenovo's 2015 Superfish scandal ---
affiliate revenue harvesting bundled into pre-installed software. It's
technically "legal" in their terms, but deceptive and harmful.

电脑是联想小新 Air 14+ ARH7,有个联想电脑管家,应该就是 Claude 说的 Lenovo PCManager。

Solution

跟 Claude 建议,卸载联想电脑管家。

测试:关掉 Edge 浏览器,再重开,能正常恢复之前页面,而不会打开那个 localhost 页面。

References

  1. 【浏览器】百度主页被"?tn=88093251_hao_pg"劫持解决方案
相关推荐
这是谁的博客?5 分钟前
高效注意力机制深度解析:从 Linear Attention 到 RWKV 的线性复杂度序列建模
ai·rwkv·flash attention·高效注意力·performer·linformer·retnet
搬砖的小码农_Sky36 分钟前
macOS Sequoia OpenClaw + Ollama 本地离线部署(免API、Apple Silicon金属加速)
人工智能·macos·ai·人机交互
醇氧37 分钟前
【OpenClaw】更换阿里百炼完整配置指南
算法·ai
周易宅1 小时前
CLAUDE.md 终极最佳实践指南
ai·agent·claude
格桑阿sir1 小时前
10-大模型智能体开发工程师:RAG检索增强生成
ai·大模型·llm·embedding·agent·检索增强·rag
tedcloud1231 小时前
ai-engineering-from-scratch部署教程:从零搭建AI应用环境
服务器·前端·人工智能·系统架构·edge
Bigger1 小时前
mini-cc 权限安全:给 AI 戴上枷锁
人工智能·ai编程·claude
guyoung1 小时前
BoxAgnts介绍(7)——OpenAI-API与Anthropic-API
openai·agent·ai编程
FIT2CLOUD飞致云1 小时前
支持AI网关和Skills Hub,1Panel企业版正式发布
ai·开源·1panel
追光者♂2 小时前
【测评系列5】CSDN AI数字营销实测体验官——Claude 大模型深度评测:从参数解析到实战边界
人工智能·ai·大模型·大语言模型·claude·模型幻觉·架构参数