优酷、土豆、爱奇艺提速

if not A_IsAdmin
 {
     Run *RunAs "%A_ScriptFullPath%"  ; 需要 v1.0.92.01+
     ExitApp
 }

 MsgBox, 4148, 提示, 本工具将关闭Flash的P2P功能,以便释放上传通道,最终加速视频网站播放速度!`r`n`r`n适用于优酷、爱奇艺、搜狐、乐视、土豆等几乎所有视频网站。
IfMsgBox, Yes
 {
     ;对3个位置的特定配置文件写入特定配置“RTMFPP2PDisable=1”,也就是关闭flash的RTMFP协议,也就是flash的p2p功能
    FileRead, OutputVar, %A_WinDir%system32MacromedFlashmms.cfg
     Loop, Parse, OutputVar, `n, `r
     {
         if (A_LoopField"")
             lastline:=A_LoopField
     }
     ;避免重复写入同条配置
    if (InStr(lastline,"RTMFPP2PDisable=1")=0)
         FileAppend, RTMFPP2PDisable=1`r`n, %A_WinDir%system32MacromedFlashmms.cfg
     OutputVar:="",lastline:=""

     FileRead, OutputVar, %A_WinDir%syswow64MacromedFlashmms.cfg
     Loop, Parse, OutputVar, `n, `r
     {
         if (A_LoopField"")
             lastline:=A_LoopField
     }
     if (InStr(lastline,"RTMFPP2PDisable=1")=0)
         FileAppend, RTMFPP2PDisable=1`r`n, %A_WinDir%syswow64MacromedFlashmms.cfg
     OutputVar:="",lastline:=""

     FileRead, OutputVar, %A_WinDir%system32mms.cfg
     Loop, Parse, OutputVar, `n, `r
     {
         if (A_LoopField"")
             lastline:=A_LoopField
     }
     if (InStr(lastline,"RTMFPP2PDisable=1")=0)
         FileAppend, RTMFPP2PDisable=1`r`n, %A_WinDir%system32mms.cfg
     OutputVar:="",lastline:=""

     MsgBox, 4160, 恭喜, 视频网站提速成功!`r`n`r`n如果浏览器用的是“搜狗”,需要勾选“设置”——“页面设置”——“使用系统公用的Flash Player (需重启浏览器)”, 10
 }
 ExitApp

给TA捐赠
共{{data.count}}人
人已捐赠
其他

仿快捷方式更改图标_选择图标GUI

2020-3-9 1:05:44

其他应用

【工具】俄罗斯人的 Ahkspy 4.76

2020-3-9 1:07:44

个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索