Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
スマホから Youtube Shortsを見られないようにする
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
lemolatoon
October 12, 2025
Programming
38k
29
Share
スマホから Youtube Shortsを見られないようにする
lemolatoon
October 12, 2025
More Decks by lemolatoon
See All by lemolatoon
お家miniPCを使ってミリしらでkubernetes clusterたててみる
lemolatoon
1
280
【Rust × C++】 夢の共演を試した話
lemolatoon
1
1.8k
no_stdでもasyncしたい
lemolatoon
0
270
Rustの手続きマクロで黒魔術入門
lemolatoon
2
1.4k
Other Decks in Programming
See All in Programming
Inside Stream API
skrb
1
430
Zod v4 Codec でスキーマに型変換を埋め込む REST API 設計 #TSKaigi2026
ryutaro_yako
0
180
作って学ぶ、 JSX (TSX) ランタイムの基本
syumai
7
1.2k
柔軟なPDFレイアウトエディタを支える型システム設計 — Discriminated UnionとConditional Typeの実践
minako__ph
4
1.2k
ECR拡張スキャンでSBOMを収集して サプライチェーン攻撃の影響調査を 爆速で終わらせてみた
akihisaikeda
2
210
Talking to terminals (and how they talk back) (KotlinConf 2026)
jakewharton
PRO
1
160
気づいたらRubyで100作品 ー クリエイティブコーディングが生活の一部になるまで / 100 Ruby Sketches Later: How Creative Coding Became Part of My Life
chobishiba
3
500
Agentic UI beyond Chats Architecture Patterns & Open Standards @ngMunich 05/2026
manfredsteyer
PRO
0
190
SPMマルチモジュールで テストカバレッジを取得する技法
yosshi4486
0
130
CSC307 Lecture 17
javiergs
PRO
0
290
ユニットテストの先へ:テスト技法で要求・仕様を整理するJava開発実践 / Beyond_Unit_Testing_Practical_Java_Development_Techniques_for_Organizing_Requirements_and_Specifications
shimashima35
0
310
メソッドのジェネリクスでGoの夢は広がるか? / Kyoto.go #65
utgwkk
0
220
Featured
See All Featured
Reality Check: Gamification 10 Years Later
codingconduct
0
2.2k
How to Think Like a Performance Engineer
csswizardry
28
2.6k
YesSQL, Process and Tooling at Scale
rocio
174
15k
Skip the Path - Find Your Career Trail
mkilby
1
130
The AI Revolution Will Not Be Monopolized: How open-source beats economies of scale, even for LLMs
inesmontani
PRO
3
3.5k
How To Speak Unicorn (iThemes Webinar)
marktimemedia
1
470
SEO for Brand Visibility & Recognition
aleyda
0
4.6k
<Decoding/> the Language of Devs - We Love SEO 2024
nikkihalliwell
1
230
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
190
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
1
270
Accessibility Awareness
sabderemane
1
130
Building a Modern Day E-commerce SEO Strategy
aleyda
45
9.1k
Transcript
スマホから Youtube Shorts を見られないようにする lemolatoon
みなさん日常をスマホに蝕まれていませんか?
私は蝕まれています
私は蝕まれています • 帰宅してからシャワーを浴びるまで1時間 • シャワーを浴びてから夜ご飯を用意するまで1時間 • 寝る直前に1時間...
通信をブロックしよう! どうやって?? 1. 特定のDNSクエリをブロックする (Easy) 2. URLを基にHTTPリクエストをブロックする (Hard)
方法案 1. 自宅にDNSサーバーを建てる • Youtube は shorts と普通の動画はドメイン違う?
方法案 1. 自宅にDNSサーバーを建てる • Youtube は shorts と普通の動画でドメイン違う? ◦ No:
単に特定のドメインをブロックするだけでは❌ •
方法案 1. 自宅にDNSサーバーを建てる • Youtube は shorts と普通の動画はドメイン違う? ◦ No:
単に特定のドメインをブロックするだけでは❌ • googlevideo.com を自宅サーバーでプロキシ
方法案 1. 自宅にDNSサーバーを建てる • Youtube は shorts と普通の動画はドメイン違う? ◦ No:
単に特定のドメインをブロックするだけでは❌ • googlevideo.com を自宅nginxでプロキシ ◦ shortsだと *&ctier=SH* というがURLに含まれる ◦ できなくはなさそう ◦ URLを見るには自分で証明書作る必要あり ◦ 参考: Blocking YouTube Shorts with Nginx and NextDNS
方法案 1. 自宅にDNSサーバーを建てる • Youtube は shorts と普通の動画はドメイン違う? ◦ No:
単に特定のドメインをブロックするだけでは❌ • googlevideo.com を自宅nginxでプロキシ ◦ shortsだと *&ctier=SH* というがURLに含まれる ◦ できなくはなさそう ◦ URLを見るには自分で証明書作る必要あり ◦ 参考: Blocking YouTube Shorts with Nginx and NextDNS ちょっと大変そう
方法案 2. Cloudflare Oneを使う • すべての通信をCloudflareでプロキシする仕組み • ついでにDNSクエリをブロックできる • 証明書を発行して、clientにインストールすれば、HTTPの
フィルタリングも可能 • 参考: What is Cloudflare One?
Cloudflare Oneを使う クライアントの設定 • 証明書をインストール • アプリをインストール
Cloudflare Oneを使う Cloudflareの設定 • UIから特定のURLパターンをフィルターする
結果 無事ブロックに成功!
おまけ Twitterのおすすめ欄もブロックする
おまけ Twitterのおすすめ欄もブロックする 成功!