1
這適用於Web瀏覽器的控制,但不能適用相同的壁虎如何注入CSS在壁虎WebBrowser控件
IHTMLDocument2 doc = (webBrowser1.Document.DomDocument) as IHTMLDocument2;
IHTMLStyleSheet ss = doc.createStyleSheet("", 0);
ss.cssText = @".navSub_top, .navSub_middle, .navSub_bottom { display: none; };";
你能幫幫我!