Re: 想請問手動去廣告方式
※ 引述《pureblue ( 別離的早晨)》之銘言:
: MSN版本為 8.5.1302.1018
: MSN plus!版本為 4.70.0.334
: 我查到以下方法手動去廣告,照著做卻依然無法去除,
: 請各位先進指導為何失效,感激不盡!
: =======================================================================
: 在C:\Program Files\MSN Messenger下麵找到msgsres.dll檔案,用ResHacker或者
: Restorator打開。
: 想去除主面板廣告,就打開4004-923號資源,查找裏面的ID=Atom(SSConstrainer)
: 將其前面的layoutpos=top改為layoutpos=none。
: 想去除介面底部搜索欄,就打開4004-923號資源查找”idSearchContainer”
: 將上邊的”layoutpos=bottom”改成”layoutpos=none”
: 改好後記得要保存。
: =======================================================================
按照原PO的方法 我探索了一下之後
竟然順利(?)手動去掉了主面板廣告跟底部搜索欄 不用別人寫好的patch
同樣是用ResHacker打開msgsres.dll檔案, 打開4004-923號資源:
去除主面板廣告 可以把以下這一大串東西直接砍掉:
====================================================================
<Element layoutpos=bottom layout=borderlayout() padding=rect(4,0,4,0)>
<Constrainer layoutpos=top ID=Atom(SSConstrainer) Layout=FillLayout()>
<SlideShowWithAd ID=Atom(AdBanner) Layout=BorderLayout()
Padding=Rect(0,0,8,3) Active=Mouse>
<Element Layout=BorderLayout() LayoutPos=Top>
<Element ID=Atom(SSTitle) ContentAlign=MiddleLeft|EndEllipsis
Padding=Rect(8,0,0,6) LayoutPos=Left Tooltip=True Accessible=True AccRole=42
Active=MouseAndKeyboard/>
</Element>
<Element LayoutPos=Client Layout=FillLayout() Padding=Rect(0,0,0,2)>
<UrlElem ID=Atom(idHouseAd) Layout=VerticalFlowLayout(0,0,3,0) Direction=ltr
Padding=Rect(8,2,0,2)>
<Element Layout=FillLayout() borderthickness=rect(1,1,1,1)>
<Element Width=234 Height=60 ID=Atom(ai214)/>
</Element>
</UrlElem>
<Element Id=Atom(AdBrowserCont) Layout=VerticalFlowLayout(0,0,3,0)
Visible=false Padding=Rect(8,2,0,2)>
<element id=atom(adbannercontainer) layout=filllayout()
borderthickness=rect(1,1,1,1)>
<adbrowser id=atom(adbrowser) width=234 height=60 layoutpos=none
Accessible=True AccRole=30 DefaultADTimerMS=25000 DLControl=dlctlNoActiveX
DocHostUIFlags=dhUIscrollno|dhUIopennewwin|dhUIno3dborder|dhUIactivateclienthitonly/>
</element>
</Element>
<Element ID=Atom(SSV) Layout=BorderLayout() Visible=False>
<UrlElem ID=Atom(SSVImgUrl) LayoutPos=Left Layout=FillLayout() Tooltip=True
Accessible=True AccRole=30 Active=MouseAndKeyboard Padding=Rect(8,0,7,0)
UseIENoAuth=True>
<HttpImage ID=Atom(SSVImg) Width=92 Height=69 borderthickness=rect(1,1,1,1)
LayoutPos=Client ContentAlign=MiddleCenter flip=false Active=Inactive
Accessible=False/>
</UrlElem>
<Element LayoutPos=Client Layout=BorderLayout() Padding=Rect(0,0,2,0)>
<Element LayoutPos=Top Layout=BorderLayout()>
<UrlElem ID=Atom(SSVTitle) LayoutPos=Client
ContentAlign=MiddleLeft|EndEllipsis Tooltip=True AccRole=30
ShowAmpersand=False UseIENoAuth=True/>
</Element>
<UrlElem ID=Atom(SSVDesc) LayoutPos=Client
ContentAlign=MiddleLeft|EndEllipsis|WrapLeft|EditControl Tooltip=True
AccRole=30 ShowAmpersand=False Height=32 UseIENoAuth=True/>
<Element LayoutPos=Bottom Layout=BorderLayout() MinSize=Size(139,0)>
<Element Layout=BorderLayout() LayoutPos=Left>
<Element Layout=FlowLayout(0,1,0,1) ContentAlign=MiddleLeft LayoutPos=Client>
<UrlElem ID=Atom(SSVPlayBtn) AccRole=30 LayoutPos=Left
Active=mouseandkeyboard|nosyncfocus UseIENoAuth=True/>
</Element>
<Element Layout=FlowLayout(0,1,0,1) LayoutPos=Right Padding=Rect(6,0,6,0)>
<Button ID=Atom(SSVPrev) LayoutPos=Left Active=mouseandkeyboard|nosyncfocus/>
<Button ID=Atom(SSVNext) LayoutPos=Left Active=mouseandkeyboard|nosyncfocus/>
</Element>
</Element>
</Element>
</Element>
</Element>
</Element>
</SlideShowWithAd>
</Constrainer>
</Element>
====================================================================
去除介面底部搜索欄 可以把以下這一大串東西直接砍掉:
====================================================================
<Element layoutpos=bottom padding=rect(8,0,8,8) layout=filllayout()
ID=Atom(ai217)>
<element id=atom(idSearchContainer) layout=filllayout() padding=rect(4,0,4,4)>
<element layout=borderlayout() borderthickness=rect(1,1,1,1) ID=Atom(ai218)>
<element layoutpos=bottom borderthickness=rect(1,1,1,1) layout=borderlayout()
ID=Atom(ai219)>
<element layoutpos=client layout=filllayout() padding=rect(1,1,5,1)
ID=Atom(ai220)>
<element layout=verticalflowlayout(0,3,3,2) padding=rect(4,0,0,0)>
<IMInput id=atom(idSearchText) maxvisiblelines=1 xscrollable=false
contentalign=middleleft/>
</element>
<element id=atom(idSearchTextBackground) contentalign=middleleft
padding=rect(4,0,3,0) Height=0/>
</element>
<element layoutpos=right class="SearchButtonBk" layout=borderlayout()>
<button layoutpos=right borderthickness=rect(1,0,0,0) id=atom(idSearchButton)
cmdid=888 Active=MouseAndKeyboard|NoSyncFocus tooltip=true/>
</element>
</element>
</element>
</element>
</Element>
====================================================================
然後存檔取代原先的msgsres.dll檔案
然後... 主面板廣告跟底部搜索欄就真的不見了!
最後附帶一提:
小弟我沒學過 也不太懂programming什麼的 所以.....
***以上是完全不負責任的建議*** (逃~
刪掉那一大串東西應該不會出什麼問題吧 (汗)
不過目前我還沒出問題就是了.....
MSN版本 8.5.1302.1018
MSN plus!版本 4.60.0.324
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 150.203.130.149
→
11/10 12:33, , 1F
11/10 12:33, 1F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):