<?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>Tips and Tricks &#8211; Bits of .NET</title>
	<atom:link href="http://blog.ercanopak.com/category/tips-and-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.ercanopak.com</link>
	<description>Daily micro-tips for C#, SQL, performance, and scalable backend engineering.</description>
	<lastBuildDate>Fri, 16 Jan 2026 05:22:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>http://blog.ercanopak.com/wp-content/uploads/2018/06/cropped-EO_LOGO_32-32x32.png</url>
	<title>Tips and Tricks &#8211; Bits of .NET</title>
	<link>http://blog.ercanopak.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How to Use Picture-in-Picture in Chrome Browser</title>
		<link>http://blog.ercanopak.com/how-to-use-picture-in-picture-in-chrome-browser/</link>
					<comments>http://blog.ercanopak.com/how-to-use-picture-in-picture-in-chrome-browser/#respond</comments>
		
		<dc:creator><![CDATA[ErcanOPAK]]></dc:creator>
		<pubDate>Mon, 26 Jun 2023 08:49:21 +0000</pubDate>
				<category><![CDATA[Chrome]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[activate]]></category>
		<category><![CDATA[active]]></category>
		<category><![CDATA[chrome]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[how]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[picture]]></category>
		<category><![CDATA[picture in picture]]></category>
		<category><![CDATA[pip]]></category>
		<category><![CDATA[use]]></category>
		<guid isPermaLink="false">http://blog.ercanopak.com/?p=992</guid>

					<description><![CDATA[Go to the Picture-in-Picture Extension (by Google). Click Add to Chrome. Click Add Extension. Find a video you want to watch. Click the picture-in-picture icon in the Chrome toolbar. The video will pop out and keep playing while you have different programs open. You must keep the original video tab open in Chrome to watch in picture-in-picture. Thanks to LifeWire.com [&#8230;]]]></description>
										<content:encoded><![CDATA[<ol>
<li>Go to the <a href="https://chrome.google.com/webstore/detail/picture-in-picture-extens/hkgfoiooedgoejojocmhlaklaeopbecg" target="_blank" rel="noopener noreferrer" data-component="link" data-source="inlineLink" data-type="externalLink" data-ordinal="1">Picture-in-Picture Extension (by Google)</a>.</li>
<li>Click <strong>Add to Chrome</strong>.<br />
<figure><img fetchpriority="high" decoding="async" src="https://www.lifewire.com/thmb/RZJI8KEW_X7OzgkVLiMfqDfyH34=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/005-how-to-use-picture-in-picture-chrome-4177601-ccde158f59f64660a35346bfbdaf3e29.jpg" alt="The &quot;Add to Chrome&quot; button" width="2000" height="1124" /></figure>
</li>
<li>Click <strong>Add Extension</strong>.<br />
<figure><img decoding="async" src="https://www.lifewire.com/thmb/DEr7FamvN51n8RsSLiV9aV0xT0w=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/004-how-to-use-picture-in-picture-chrome-4177601-618e919790614841b5a47dacd4f83bb2.jpg" alt="The &quot;Add Extension&quot; button" width="2000" height="1124" /></figure>
</li>
<li id="mntl-sc-block_1-0-63" class="comp mntl-sc-block-group--LI mntl-sc-block mntl-sc-block-startgroup">
<p id="mntl-sc-block_1-0-64" class="comp mntl-sc-block mntl-sc-block-html">Find a video you want to watch.</p>
</li>
<li>Click the <strong>picture-in-picture</strong> icon in the Chrome toolbar.<br />
<figure><img decoding="async" src="https://www.lifewire.com/thmb/3F5clMa1LsWXCK-053USnAVQH9o=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/003-how-to-use-picture-in-picture-chrome-4177601-2b5d4ea92e5d43e4bb66c4543c4b89d8.jpg" alt="The picture-in-picture button in Chrome" width="2000" height="1124" /></figure>
</li>
<li>The video will pop out and keep playing while you have different programs open.<br />
<blockquote>
<h5><span style="color: #ff0000;"><strong>You must keep the original video tab open in Chrome to watch in picture-in-picture.</strong></span></h5>
</blockquote>
<figure><img loading="lazy" decoding="async" src="https://www.lifewire.com/thmb/CJq2cr5U-dXjkat7luzQ-7WygNc=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc():format(webp)/002-how-to-use-picture-in-picture-chrome-4177601-2234563ec47144308d0967b26544879f.jpg" alt="A video playing in PiP in ChromeOS" width="1366" height="768" /></figure>
</li>
</ol>
<div>Thanks to <a href="https://www.lifewire.com/how-to-use-picture-in-picture-chrome-4177601">LifeWire.com</a> for the detailed post.</div>
]]></content:encoded>
					
					<wfw:commentRss>http://blog.ercanopak.com/how-to-use-picture-in-picture-in-chrome-browser/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to make theater mode the default for Youtube</title>
		<link>http://blog.ercanopak.com/how-to-make-theater-mode-the-default-for-youtube/</link>
					<comments>http://blog.ercanopak.com/how-to-make-theater-mode-the-default-for-youtube/#comments</comments>
		
		<dc:creator><![CDATA[ErcanOPAK]]></dc:creator>
		<pubDate>Sat, 12 Mar 2022 21:05:52 +0000</pubDate>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[console]]></category>
		<category><![CDATA[cookie]]></category>
		<category><![CDATA[default]]></category>
		<category><![CDATA[extension]]></category>
		<category><![CDATA[mode]]></category>
		<category><![CDATA[theater]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[view]]></category>
		<category><![CDATA[youtube]]></category>
		<guid isPermaLink="false">http://blog.ercanopak.com/?p=790</guid>

					<description><![CDATA[Love the Theater Mode on YouTube but tired of clicking that button every single time? You don&#8217;t need to install heavy browser extensions or third-party software that might track your data. You can fix this with a single line of code in your browser&#8217;s console. The Logic Behind the Hack YouTube stores your player preferences [&#8230;]]]></description>
										<content:encoded><![CDATA[<div style="line-height: 1.6; font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; color: #333; max-width: 800px; margin: auto;">Love the <strong>Theater Mode</strong> on YouTube but tired of clicking that button every single time? You don&#8217;t need to install heavy browser extensions or third-party software that might track your data. You can fix this with a single line of code in your browser&#8217;s console.</p>
<h3 style="color: #2c3e50; font-size: 22px; margin-top: 25px;">The Logic Behind the Hack</h3>
<p>YouTube stores your player preferences (like volume, quality, and view mode) in <strong>browser cookies</strong>. By manually setting the <code>wide</code> cookie to <code>1</code>, we tell YouTube&#8217;s servers that our default preference is always &#8220;Theater Mode&#8221;.</p>
<div style="background: #f9f9f9; border-left: 5px solid #ff0000; padding: 20px; margin: 20px 0;">
<h4 style="margin-top: 0; color: #333;">Step-by-Step Instructions:</h4>
<ol style="padding-left: 20px;">
<li style="margin-bottom: 10px;">Go to <a style="color: #0066cc; text-decoration: none; font-weight: bold;" href="https://www.youtube.com/" target="_blank" rel="noopener">YouTube.com</a></li>
<li style="margin-bottom: 10px;">Open the <strong>Developer Tools</strong> by pressing <code>F12</code> or <code>Ctrl+Shift+I</code> (Cmd+Option+I on Mac).</li>
<li style="margin-bottom: 10px;">Click on the <strong>Console</strong> tab at the top.</li>
<li style="margin-bottom: 10px;">Copy and paste the following code, then press <strong>Enter</strong>:</li>
</ol>
</div>
<div style="margin: 20px 0;">
<div style="background: #333; color: #fff; padding: 10px 15px; border-radius: 8px 8px 0 0; display: flex; justify-content: space-between; align-items: center; font-size: 13px; font-family: sans-serif;">JavaScript Code</div>
<pre style="background: #272822; color: #f8f8f2; padding: 18px; border-radius: 0 0 8px 8px; margin-top: 0; font-size: 14px; white-space: pre-wrap; word-break: break-all; box-shadow: 0 4px 6px rgba(0,0,0,0.1);"><code id="ytCode">document.cookie = 'wide=1; expires=' + new Date('3099-01-01').toUTCString() + '; path=/; domain=.youtube.com; Secure';</code></pre>
</div>
<p style="margin-top: 15px;"><em>Note: We set the expiration date to the year 3099, so you&#8217;ll basically never have to do this again!</em></p>
<h3 style="color: #2c3e50; font-size: 20px; margin-top: 30px;">Why is this better than extensions?</h3>
<ul>
<li><strong>Privacy:</strong> No third-party code watching your browsing habits.</li>
<li><strong>Performance:</strong> Extensions consume RAM; this native cookie takes zero resources.</li>
<li><strong>Reliability:</strong> It uses YouTube&#8217;s own built-in logic.</li>
</ul>
<blockquote style="background: #e3f2fd; border-left: 6px solid #2196f3; margin: 30px 0; padding: 20px; border-radius: 4px;">
<h4 style="margin-top: 0; color: #0d47a1; font-size: 18px;"><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f4a1.png" alt="💡" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Pro Tips for Power Users</h4>
<p style="margin-bottom: 10px;"><strong>1. How to Undo:</strong> If you ever want to go back to the default small player, just paste the same code but change <code>wide=1</code> to <code>wide=0</code>.</p>
<p style="margin-bottom: 0;"><strong>2. Cross-Browser:</strong> This works on Chrome, Firefox, Edge, and Safari. As long as you are logged into your browser profile and cookies aren&#8217;t cleared, it stays active.</p>
</blockquote>
<div style="background: #fff3e0; border: 1px solid #ffe0b2; padding: 15px; border-radius: 5px; margin-top: 20px;">
<p style="margin: 0; font-size: 14px; color: #e65100;"><strong><img src="https://s.w.org/images/core/emoji/17.0.2/72x72/26a0.png" alt="⚠" class="wp-smiley" style="height: 1em; max-height: 1em;" /> Troubleshooting:</strong> If it doesn&#8217;t work immediately, refresh the page. Ensure you are on the main YouTube domain and not an embedded player on another site.</p>
</div>
<p style="margin-top: 40px; text-align: center; font-weight: bold; color: #2c3e50;">Enjoy your cinematic experience without the extra clicks! <img src="https://s.w.org/images/core/emoji/17.0.2/72x72/1f3ac.png" alt="🎬" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
</div>
<p></p>
]]></content:encoded>
					
					<wfw:commentRss>http://blog.ercanopak.com/how-to-make-theater-mode-the-default-for-youtube/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>How to turn off YouTube annotations and cards</title>
		<link>http://blog.ercanopak.com/how-to-turn-off-youtube-annotations-and-cards/</link>
					<comments>http://blog.ercanopak.com/how-to-turn-off-youtube-annotations-and-cards/#respond</comments>
		
		<dc:creator><![CDATA[ErcanOPAK]]></dc:creator>
		<pubDate>Fri, 11 Mar 2022 19:36:51 +0000</pubDate>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[account]]></category>
		<category><![CDATA[annotation]]></category>
		<category><![CDATA[card]]></category>
		<category><![CDATA[delete]]></category>
		<category><![CDATA[info]]></category>
		<category><![CDATA[permanent]]></category>
		<category><![CDATA[playback]]></category>
		<category><![CDATA[remove]]></category>
		<category><![CDATA[setting]]></category>
		<category><![CDATA[video]]></category>
		<category><![CDATA[youtube]]></category>
		<guid isPermaLink="false">http://blog.ercanopak.com/?p=785</guid>

					<description><![CDATA[It is so easy to do that. If you don&#8217;t want to see annotations (or cards) for any video whatsoever, you can disable all interactive elements by heading to settings, clicking on Playback from the Account Settings panel on the left, and then unchecking the box for &#8220;Show in-video info cards&#8221; &#160;]]></description>
										<content:encoded><![CDATA[<p>It is so easy to do that. If you don&#8217;t want to see annotations (or cards) for any video whatsoever, you can disable all interactive elements by heading to settings, clicking on <strong>Playback</strong> from the <strong>Account Settings</strong> panel on the left, and then unchecking the box for &#8220;<strong>Show in-video info cards</strong>&#8221;</p>
<p>&nbsp;</p>
<p><img decoding="async" src="https://storage.googleapis.com/support-forums-api/attachment/message-20094547-9897920188160633179.jpg" /></p>
]]></content:encoded>
					
					<wfw:commentRss>http://blog.ercanopak.com/how-to-turn-off-youtube-annotations-and-cards/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>How to hide Youtube chat windows permanently</title>
		<link>http://blog.ercanopak.com/how-to-hide-youtube-chat-windows-permanently/</link>
					<comments>http://blog.ercanopak.com/how-to-hide-youtube-chat-windows-permanently/#respond</comments>
		
		<dc:creator><![CDATA[ErcanOPAK]]></dc:creator>
		<pubDate>Sun, 06 Mar 2022 20:17:46 +0000</pubDate>
				<category><![CDATA[Tips and Tricks]]></category>
		<category><![CDATA[chat]]></category>
		<category><![CDATA[hide]]></category>
		<category><![CDATA[permanent]]></category>
		<category><![CDATA[user]]></category>
		<category><![CDATA[window]]></category>
		<category><![CDATA[youtube]]></category>
		<guid isPermaLink="false">http://blog.ercanopak.com/?p=782</guid>

					<description><![CDATA[The easiest way to do that is using AdBlock. 1. Open your web browser and go to the Adblock Settings as shown. 2. Click on the Customize option in the left pane. 3. Here in the Customize AdBlock section, locate and click the Edit button next to Manually edit your filters. 4. Then, add the following links and click on the Save button. youtube.com###chat &#160; &#160;]]></description>
										<content:encoded><![CDATA[<p>The easiest way to do that is using AdBlock.</p>
<p>1. Open your web browser and go to the <strong>Adblock Settings</strong> as shown.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-78089" src="https://techcult.com/wp-content/uploads/2022/02/click-on-the-adblock-extension-and-click-on-the-se.png" sizes="auto, (max-width: 700px) 100vw, 700px" srcset="https://techcult.com/wp-content/uploads/2022/02/click-on-the-adblock-extension-and-click-on-the-se.png 1237w, https://techcult.com/wp-content/uploads/2022/02/click-on-the-adblock-extension-and-click-on-the-se-300x184.png 300w, https://techcult.com/wp-content/uploads/2022/02/click-on-the-adblock-extension-and-click-on-the-se-1024x628.png 1024w, https://techcult.com/wp-content/uploads/2022/02/click-on-the-adblock-extension-and-click-on-the-se-768x471.png 768w" alt="Click on the Adblock extension and click on the settings " width="700" height="430" data-full="https://techcult.com/wp-content/uploads/2022/02/click-on-the-adblock-extension-and-click-on-the-se.png" data-full-size="1237x759" /></p>
<p>2. Click on the <strong>Customize</strong> option in the left pane.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-78095" src="https://techcult.com/wp-content/uploads/2022/02/select-customize.png" sizes="auto, (max-width: 700px) 100vw, 700px" srcset="https://techcult.com/wp-content/uploads/2022/02/select-customize.png 1134w, https://techcult.com/wp-content/uploads/2022/02/select-customize-300x202.png 300w, https://techcult.com/wp-content/uploads/2022/02/select-customize-1024x691.png 1024w, https://techcult.com/wp-content/uploads/2022/02/select-customize-768x518.png 768w" alt="Select Customize. Fix AdBlock Not Working on Twitch" width="700" height="472" data-full="https://techcult.com/wp-content/uploads/2022/02/select-customize.png" data-full-size="1134x765" /></p>
<p>3. Here in the <strong>Customize AdBlock</strong> section, locate and click the <strong>Edit</strong> button next to <strong>Manually edit your filters</strong>.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-78100" src="https://techcult.com/wp-content/uploads/2022/02/click-the-edit-button-next-to-manually-edit-you-fi.png" sizes="auto, (max-width: 700px) 100vw, 700px" srcset="https://techcult.com/wp-content/uploads/2022/02/click-the-edit-button-next-to-manually-edit-you-fi.png 1134w, https://techcult.com/wp-content/uploads/2022/02/click-the-edit-button-next-to-manually-edit-you-fi-300x202.png 300w, https://techcult.com/wp-content/uploads/2022/02/click-the-edit-button-next-to-manually-edit-you-fi-1024x691.png 1024w, https://techcult.com/wp-content/uploads/2022/02/click-the-edit-button-next-to-manually-edit-you-fi-768x518.png 768w" alt="click the Edit button next to Manually Edit You Filter " width="700" height="472" data-full="https://techcult.com/wp-content/uploads/2022/02/click-the-edit-button-next-to-manually-edit-you-fi.png" data-full-size="1134x765" /></p>
<p>4. Then, add the following <b>links </b>and click on the <strong>Save</strong> button.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="generic">youtube.com###chat</pre>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>http://blog.ercanopak.com/how-to-hide-youtube-chat-windows-permanently/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
