<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>webbrowser - HaiNH</title>
	<atom:link href="https://hainh.dev/tag/webbrowser/feed/" rel="self" type="application/rss+xml" />
	<link>https://hainh.dev</link>
	<description></description>
	<lastBuildDate>Thu, 28 Feb 2019 04:30:23 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://hainh.dev/wp-content/uploads/2025/10/cropped-logomyblog-32x32.png</url>
	<title>webbrowser - HaiNH</title>
	<link>https://hainh.dev</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">249252746</site>	<item>
		<title>Chương trình tự động subscribe kênh youtube hàng loạt</title>
		<link>https://hainh.dev/chuong-trinh-tu-dong-subscribe-kenh-youtube-hang-loat/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=chuong-trinh-tu-dong-subscribe-kenh-youtube-hang-loat</link>
					<comments>https://hainh.dev/chuong-trinh-tu-dong-subscribe-kenh-youtube-hang-loat/#respond</comments>
		
		<dc:creator><![CDATA[NGUYỄN HOÀNG HẢI]]></dc:creator>
		<pubDate>Thu, 28 Feb 2019 04:30:23 +0000</pubDate>
				<category><![CDATA[Dự án]]></category>
		<category><![CDATA[dự án]]></category>
		<category><![CDATA[selenium webdriver]]></category>
		<category><![CDATA[web auto]]></category>
		<category><![CDATA[webbrowser]]></category>
		<category><![CDATA[youtube tool]]></category>
		<guid isPermaLink="false">https://hainh2k3.com/?p=2525</guid>

					<description><![CDATA[<p>Chương trình có chức năng auto thực hiện theo kịch bản như: + Load folder chứa các shortcut coccoc để nạp các profile coccoc vào list + Mở cococc duyệt qua danh sách các profile đó và mở list video youtube + Xem từng video có trong danh sách đó theo thời gian cài đặt...</p>
<p>The post <a href="https://hainh.dev/chuong-trinh-tu-dong-subscribe-kenh-youtube-hang-loat/">Chương trình tự động subscribe kênh youtube hàng loạt</a> first appeared on <a href="https://hainh.dev">HaiNH</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Chương trình có chức năng auto thực hiện theo kịch bản như:</p>
<p>+ Load folder chứa các shortcut coccoc để nạp các profile coccoc vào list<br />
+ Mở cococc duyệt qua danh sách các profile đó và mở list video youtube<br />
+ Xem từng video có trong danh sách đó theo thời gian cài đặt và bấm subscribe kênh<br />
+ Quay lại lặp từng video có trong list<br />
+ Hết danh sách reset usb 3g để nhận IP mới<br />
+ Đóng coccoc và lặp lại với profile tiếp theo &#8230;</p>
<p><img fetchpriority="high" decoding="async" data-attachment-id="2527" data-permalink="https://hainh.dev/chuong-trinh-tu-dong-subscribe-kenh-youtube-hang-loat/auto-sub-youtube/" data-orig-file="https://hainh.dev/wp-content/uploads/2019/02/auto-sub-youtube.png" data-orig-size="762,703" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="auto sub youtube" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2019/02/auto-sub-youtube-300x277.png" data-large-file="https://hainh.dev/wp-content/uploads/2019/02/auto-sub-youtube.png" class="aligncenter size-full wp-image-2527" src="https://hainh.dev/wp-content/uploads/2019/02/auto-sub-youtube.png" alt="" width="762" height="703" srcset="https://hainh.dev/wp-content/uploads/2019/02/auto-sub-youtube.png 762w, https://hainh.dev/wp-content/uploads/2019/02/auto-sub-youtube-300x277.png 300w" sizes="(max-width: 762px) 100vw, 762px" /></p><p>The post <a href="https://hainh.dev/chuong-trinh-tu-dong-subscribe-kenh-youtube-hang-loat/">Chương trình tự động subscribe kênh youtube hàng loạt</a> first appeared on <a href="https://hainh.dev">HaiNH</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://hainh.dev/chuong-trinh-tu-dong-subscribe-kenh-youtube-hang-loat/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">2525</post-id>	</item>
		<item>
		<title>Tạo trình soạn thảo html editor trong winform</title>
		<link>https://hainh.dev/tao-trinh-soan-thao-html-editor-trong-winform/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=tao-trinh-soan-thao-html-editor-trong-winform</link>
					<comments>https://hainh.dev/tao-trinh-soan-thao-html-editor-trong-winform/#respond</comments>
		
		<dc:creator><![CDATA[NGUYỄN HOÀNG HẢI]]></dc:creator>
		<pubDate>Wed, 05 Dec 2018 09:10:32 +0000</pubDate>
				<category><![CDATA[Lập trình ứng dụng]]></category>
		<category><![CDATA[lập trình ứng dụng]]></category>
		<category><![CDATA[webbrowser]]></category>
		<guid isPermaLink="false">https://hainh2k3.com/?p=1206</guid>

					<description><![CDATA[<p>Nếu ứng dụng của bạn cần soạn thảo và hiển thị nội dung html thì mình có giải pháp sử dụng webbrowser control để soạn thảo nội dung. Chỉ cần nhúng nó vào form và sử dụng phương thức  .Document.ExecCommand để tiến hành việc định dạng cho nó. Để có thể soạn thảo nội dung...</p>
<p>The post <a href="https://hainh.dev/tao-trinh-soan-thao-html-editor-trong-winform/">Tạo trình soạn thảo html editor trong winform</a> first appeared on <a href="https://hainh.dev">HaiNH</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Nếu ứng dụng của bạn cần soạn thảo và hiển thị nội dung html thì mình có giải pháp sử dụng webbrowser control để soạn thảo nội dung. Chỉ cần nhúng nó vào form và sử dụng phương thức  .Document.ExecCommand để tiến hành việc định dạng cho nó.</p>
<p><img decoding="async" data-attachment-id="1207" data-permalink="https://hainh.dev/tao-trinh-soan-thao-html-editor-trong-winform/html-editor/" data-orig-file="https://hainh.dev/wp-content/uploads/2018/12/html-editor.jpg" data-orig-size="970,500" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="html editor" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2018/12/html-editor-300x155.jpg" data-large-file="https://hainh.dev/wp-content/uploads/2018/12/html-editor.jpg" class="aligncenter size-full wp-image-1207" src="https://hainh.dev/wp-content/uploads/2018/12/html-editor.jpg" alt="" width="970" height="500" srcset="https://hainh.dev/wp-content/uploads/2018/12/html-editor.jpg 970w, https://hainh.dev/wp-content/uploads/2018/12/html-editor-300x155.jpg 300w, https://hainh.dev/wp-content/uploads/2018/12/html-editor-768x396.jpg 768w" sizes="(max-width: 970px) 100vw, 970px" /></p>
<p>Để có thể soạn thảo nội dung trực tiếp trên webbrowser control thì bạn cần khai báo thuộc tính như sau:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="csharp">txtEditor.Navigate("about:blank");
txtEditor.Document.DomDocument.DesignMode = "On";</pre>
<p>Sử dụng <span style="color: #800080;"><strong>document.execCommand(<em>command</em>, <em>showUI</em>, <em>value</em>)</strong></span> để tiến hành việc định dạng.<br />
[su_table]</p>
<table style="height: 44px; width: 132px;">
<tbody>
<tr style="height: 22px;">
<td style="height: 22px; width: 44px;"><strong>Value</strong></td>
<td style="height: 22px; width: 88px;"><strong>Mô tả</strong></td>
</tr>
<tr style="height: 22px;">
<td style="height: 22px; width: 44px;">command</td>
<td style="height: 22px; width: 88px; text-align: left;">&#8220;backColor&#8221;<br />
&#8220;bold&#8221;<br />
&#8220;createLink&#8221;<br />
&#8220;copy&#8221;<br />
&#8220;cut&#8221;<br />
&#8220;defaultParagraphSeparator&#8221;<br />
&#8220;delete&#8221;<br />
&#8220;fontName&#8221;<br />
&#8220;fontSize&#8221;<br />
&#8220;foreColor&#8221;<br />
&#8220;formatBlock&#8221;<br />
&#8220;forwardDelete&#8221;<br />
&#8220;insertHorizontalRule&#8221;<br />
&#8220;insertHTML&#8221;<br />
&#8220;insertImage&#8221;<br />
&#8220;insertLineBreak&#8221;<br />
&#8220;insertOrderedList&#8221;<br />
&#8220;insertParagraph&#8221;<br />
&#8220;insertText&#8221;<br />
&#8220;insertUnorderedList&#8221;<br />
&#8220;justifyCenter&#8221;<br />
&#8220;justifyFull&#8221;<br />
&#8220;justifyLeft&#8221;<br />
&#8220;justifyRight&#8221;<br />
&#8220;outdent&#8221;<br />
&#8220;paste&#8221;<br />
&#8220;redo&#8221;<br />
&#8220;selectAll&#8221;<br />
&#8220;strikethrough&#8221;<br />
&#8220;styleWithCss&#8221;<br />
&#8220;superscript&#8221;<br />
&#8220;undo&#8221;<br />
&#8220;unlink&#8221;<br />
&#8220;useCSS&#8221;</td>
</tr>
<tr>
<td style="width: 44px;"><em>showUI</em></td>
<td style="width: 88px; text-align: left;">True nếu hiển cần thị GUI của command, vd sử dụng chèn hình ảnh, link vv ..</td>
</tr>
<tr>
<td style="width: 44px;"><em>value</em></td>
<td style="width: 88px; text-align: left;">Giá trị của command, vd: màu sắc, liên kết vv&#8230;</td>
</tr>
</tbody>
</table>
<p>[/su_table]</p>
<pre class="EnlighterJSRAW" data-enlighter-language="csharp">txtEditor.Document.ExecCommand("FontSize", False, 16) //Set khối đã chọn font size = 16px
txtEditor.Document.ExecCommand("insertImage", True, Nothing) //Show popup hiển thị chèn hình ảnh
txtEditor.Document.ExecCommand("foreColor", False, "#ff0000") //Set khối đã chọn có màu chữ thành đỏ</pre>
<p>Để lấy nội dung đoạn html đã nhập ta sử dụng thuộc tính: <span style="color: #800080;"><strong>txtEditor.DocumentText</strong></span></p>
<p>Để gắn giá trị html cho webbrowser ta sử dụng phương thức <span style="color: #800080;"><strong>txtEditor.Document.Write(&#8220;Nội dung html&#8221;)</strong></span></p>
<p>Demo form html editor mình xây dựng cho mục tạo chữ ký khi gửi email</p>
<p><img decoding="async" data-attachment-id="1208" data-permalink="https://hainh.dev/tao-trinh-soan-thao-html-editor-trong-winform/html-editor-2/" data-orig-file="https://hainh.dev/wp-content/uploads/2018/12/html-editor.gif" data-orig-size="972,497" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="html editor" data-image-description="" data-image-caption="" data-medium-file="https://hainh.dev/wp-content/uploads/2018/12/html-editor-300x153.gif" data-large-file="https://hainh.dev/wp-content/uploads/2018/12/html-editor.gif" class="aligncenter size-full wp-image-1208" src="https://hainh.dev/wp-content/uploads/2018/12/html-editor.gif" alt="" width="972" height="497" /></p><p>The post <a href="https://hainh.dev/tao-trinh-soan-thao-html-editor-trong-winform/">Tạo trình soạn thảo html editor trong winform</a> first appeared on <a href="https://hainh.dev">HaiNH</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://hainh.dev/tao-trinh-soan-thao-html-editor-trong-winform/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1206</post-id>	</item>
	</channel>
</rss>
