1
关于如何关闭新版 edge 插入百度推广码
source link: https://www.v2ex.com/t/1034362
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
这两天看到有几个帖子提到 edge 新版貌似添加了劫持百度网址的代码:
/t/1034274
闲得无聊就简单逆向了一下 Windows 新版 edge:
Edge 版本:124.0.2478.51
文件信息:msedge.dll
SHA1:1902C3088DAC60B6FA23B5099B6F231C1874DCAB
涉及到的核心代码:
这部分代码主要是由一个叫`msInsertBaiduCode`的内部属性控制的
并且该属性(貌似)是直接写死在二进制里的,无法从外部设置关闭
所以有了一个简单粗暴的关闭方式:
直接修改该`msInsertBaiduCode`属性(偏移 0xf151040 )为 0 ,效果如下:
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK