<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Windowsでyoutubeのアクセスを禁止する方法!! へのコメント	</title>
	<atom:link href="https://ishii-singpg.com/archives/448/feed" rel="self" type="application/rss+xml" />
	<link>https://ishii-singpg.com/archives/448</link>
	<description>IT業界、プログラミングの&#34;あるある&#34;を歌にするシンガーソングライター</description>
	<lastBuildDate>Sat, 01 Mar 2025 11:59:06 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>
		TK より		</title>
		<link>https://ishii-singpg.com/archives/448#comment-21</link>

		<dc:creator><![CDATA[TK]]></dc:creator>
		<pubDate>Sat, 13 Nov 2021 07:22:22 +0000</pubDate>
		<guid isPermaLink="false">http://ishii-singpg.com/?p=448#comment-21</guid>

					<description><![CDATA[&lt;a href=&quot;https://ishii-singpg.com/archives/448#comment-10&quot;&gt;yoshi-ishii&lt;/a&gt; への返信。

解決済み

管理者権限でメモを開き、その後hostファイルを開く流れで、hostファイルが見つからず止まっていましたが、メモ帳からファイルを開く時のファイル形成の選択欄が、”テキスト”になっておりファイルが見つかっていませんでした。”全てのファイル”の選択に変えたらhostファイルが見つかりました。

見落としていた部分があった為でした。ありがとうございました。

2021　09.04解決済み]]></description>
			<content:encoded><![CDATA[<p>解決済み</p>
<p>管理者権限でメモを開き、その後hostファイルを開く流れで、hostファイルが見つからず止まっていましたが、メモ帳からファイルを開く時のファイル形成の選択欄が、”テキスト”になっておりファイルが見つかっていませんでした。”全てのファイル”の選択に変えたらhostファイルが見つかりました。</p>
<p>見落としていた部分があった為でした。ありがとうございました。</p>
<p>2021　09.04解決済み</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		yoshi-ishii より		</title>
		<link>https://ishii-singpg.com/archives/448#comment-20</link>

		<dc:creator><![CDATA[yoshi-ishii]]></dc:creator>
		<pubDate>Sun, 25 Jul 2021 02:10:38 +0000</pubDate>
		<guid isPermaLink="false">http://ishii-singpg.com/?p=448#comment-20</guid>

					<description><![CDATA[&lt;a href=&quot;https://ishii-singpg.com/archives/448#comment-19&quot;&gt;はやと&lt;/a&gt; への返信。

はやと様

コメントありがとうございます。
findstrの部分で、現時点のbatファイルに、
その動画サイトが特定できるURLの文言が入っているかを判定しているので、
例えば、ニコニコ動画の場合は、以下になります。

findstr &quot;nicovideo&quot; %HOST_PASS%
if &quot;%ERRORLEVEL%&quot;==&quot;1&quot; (
	echo;&gt;&gt; %HOST_PASS%
	echo 127.0.0.1  www.nicovideo.jp&gt;&gt; %HOST_PASS%
)

youtube＋ニコニコ動画の場合は、以下のような感じになりますので、
お試し下さい。

findstr &quot;youtube&quot; %HOST_PASS%
if &quot;%ERRORLEVEL%&quot;==&quot;1&quot; (
	echo;&gt;&gt; %HOST_PASS%
	echo 127.0.0.1  www.youtube.com&gt;&gt; %HOST_PASS%
)

findstr &quot;nicovideo&quot; %HOST_PASS%
if &quot;%ERRORLEVEL%&quot;==&quot;1&quot; (
	echo 127.0.0.1  www.nicovideo.jp&gt;&gt; %HOST_PASS%
)]]></description>
			<content:encoded><![CDATA[<p>はやと様</p>
<p>コメントありがとうございます。<br />
findstrの部分で、現時点のbatファイルに、<br />
その動画サイトが特定できるURLの文言が入っているかを判定しているので、<br />
例えば、ニコニコ動画の場合は、以下になります。</p>
<p>findstr &#8220;nicovideo&#8221; %HOST_PASS%<br />
if &#8220;%ERRORLEVEL%&#8221;==&#8221;1&#8221; (<br />
	echo;>> %HOST_PASS%<br />
	echo 127.0.0.1  <a href="http://www.nicovideo.jp" rel="nofollow ugc">http://www.nicovideo.jp</a>>> %HOST_PASS%<br />
)</p>
<p>youtube＋ニコニコ動画の場合は、以下のような感じになりますので、<br />
お試し下さい。</p>
<p>findstr &#8220;youtube&#8221; %HOST_PASS%<br />
if &#8220;%ERRORLEVEL%&#8221;==&#8221;1&#8221; (<br />
	echo;>> %HOST_PASS%<br />
	echo 127.0.0.1  <a href="http://www.youtube.com" rel="nofollow ugc">http://www.youtube.com</a>>> %HOST_PASS%<br />
)</p>
<p>findstr &#8220;nicovideo&#8221; %HOST_PASS%<br />
if &#8220;%ERRORLEVEL%&#8221;==&#8221;1&#8221; (<br />
	echo 127.0.0.1  <a href="http://www.nicovideo.jp" rel="nofollow ugc">http://www.nicovideo.jp</a>>> %HOST_PASS%<br />
)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		はやと より		</title>
		<link>https://ishii-singpg.com/archives/448#comment-19</link>

		<dc:creator><![CDATA[はやと]]></dc:creator>
		<pubDate>Sun, 18 Jul 2021 06:19:21 +0000</pubDate>
		<guid isPermaLink="false">http://ishii-singpg.com/?p=448#comment-19</guid>

					<description><![CDATA[貴重な情報ありがとうございます。youtube以外の特定の動画サイトも、同じく見れないようにするにはどうすればよいでしょうか？同じソースコードの、youtubeのURLを別サイトのURLに変えてもダメだったので…]]></description>
			<content:encoded><![CDATA[<p>貴重な情報ありがとうございます。youtube以外の特定の動画サイトも、同じく見れないようにするにはどうすればよいでしょうか？同じソースコードの、youtubeのURLを別サイトのURLに変えてもダメだったので…</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		yoshi-ishii より		</title>
		<link>https://ishii-singpg.com/archives/448#comment-18</link>

		<dc:creator><![CDATA[yoshi-ishii]]></dc:creator>
		<pubDate>Sun, 09 May 2021 09:05:42 +0000</pubDate>
		<guid isPermaLink="false">http://ishii-singpg.com/?p=448#comment-18</guid>

					<description><![CDATA[&lt;a href=&quot;https://ishii-singpg.com/archives/448#comment-13&quot;&gt;mtabu&lt;/a&gt; への返信。

mtabu様

お返事遅くなりました。
子供のための視聴制限の件を新しくブログに書かせて頂きました。
ご参考になれば幸いです。
https://ishii-singpg.com/archives/1679

石井よしまさ]]></description>
			<content:encoded><![CDATA[<p>mtabu様</p>
<p>お返事遅くなりました。<br />
子供のための視聴制限の件を新しくブログに書かせて頂きました。<br />
ご参考になれば幸いです。<br />
<a href="https://ishii-singpg.com/archives/1679" rel="ugc">https://ishii-singpg.com/archives/1679</a></p>
<p>石井よしまさ</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		mtabu より		</title>
		<link>https://ishii-singpg.com/archives/448#comment-13</link>

		<dc:creator><![CDATA[mtabu]]></dc:creator>
		<pubDate>Mon, 12 Apr 2021 13:58:01 +0000</pubDate>
		<guid isPermaLink="false">http://ishii-singpg.com/?p=448#comment-13</guid>

					<description><![CDATA[&lt;a href=&quot;https://ishii-singpg.com/archives/448#comment-12&quot;&gt;yoshi-ishii&lt;/a&gt; への返信。

お返事ありがとうございました。書き込んだ後、自分でできそうなことはないかと考えていました。オリジナルのhostsファイルをhosts_orgに複製し、最終行に「127.0.0.1 http://www.youtube.com」を追加したhosts_aを作成し、batファイルを使って、必要に応じてhostsファイルを書き換える（コピーしてファイルを上書き）ような方法で対応しようと考えています。こんなんで行けそうでしょうか？（hostsファイルを直接書き換えるのは自分にとってハードルが高いのですが、ファイルを書き換えるぐらいならできそうです。）]]></description>
			<content:encoded><![CDATA[<p>お返事ありがとうございました。書き込んだ後、自分でできそうなことはないかと考えていました。オリジナルのhostsファイルをhosts_orgに複製し、最終行に「127.0.0.1 <a href="http://www.youtube.com」を追加したhosts_aを作成し、batファイルを使って、必要に応じてhostsファイルを書き換える（コピーしてファイルを上書き）ような方法で対応しようと考えています。こんなんで行けそうでしょうか？（hostsファイルを直接書き換えるのは自分にとってハードルが高いのですが、ファイルを書き換えるぐらいならできそうです。）" rel="nofollow ugc">http://www.youtube.com」を追加したhosts_aを作成し、batファイルを使って、必要に応じてhostsファイルを書き換える（コピーしてファイルを上書き）ような方法で対応しようと考えています。こんなんで行けそうでしょうか？（hostsファイルを直接書き換えるのは自分にとってハードルが高いのですが、ファイルを書き換えるぐらいならできそうです。）</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		yoshi-ishii より		</title>
		<link>https://ishii-singpg.com/archives/448#comment-12</link>

		<dc:creator><![CDATA[yoshi-ishii]]></dc:creator>
		<pubDate>Mon, 12 Apr 2021 10:18:03 +0000</pubDate>
		<guid isPermaLink="false">http://ishii-singpg.com/?p=448#comment-12</guid>

					<description><![CDATA[&lt;a href=&quot;https://ishii-singpg.com/archives/448#comment-11&quot;&gt;mtabu&lt;/a&gt; への返信。

コメントありがとうございます。
お力になれたようで良かったです。

ご質問の件ですが、
しっかり調べないと回答できかねますので、
今後の課題とさせて頂き、
実現できたらブログに反映しますので、
宜しくお願いいたします。]]></description>
			<content:encoded><![CDATA[<p>コメントありがとうございます。<br />
お力になれたようで良かったです。</p>
<p>ご質問の件ですが、<br />
しっかり調べないと回答できかねますので、<br />
今後の課題とさせて頂き、<br />
実現できたらブログに反映しますので、<br />
宜しくお願いいたします。</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
