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
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
lemolatoon
October 12, 2025
Programming
29
37k
スマホから Youtube Shortsを見られないようにする
lemolatoon
October 12, 2025
Tweet
Share
More Decks by lemolatoon
See All by lemolatoon
お家miniPCを使ってミリしらでkubernetes clusterたててみる
lemolatoon
1
230
【Rust × C++】 夢の共演を試した話
lemolatoon
1
1.7k
no_stdでもasyncしたい
lemolatoon
0
260
Rustの手続きマクロで黒魔術入門
lemolatoon
2
1.3k
Other Decks in Programming
See All in Programming
Vibe Coding - AI 驅動的軟體開發
mickyp100
0
180
AtCoder Conference 2025
shindannin
0
1.1k
Rust 製のコードエディタ “Zed” を使ってみた
nearme_tech
PRO
0
210
開発者から情シスまで - 多様なユーザー層に届けるAPI提供戦略 / Postman API Night Okinawa 2026 Winter
tasshi
0
210
Honoを使ったリモートMCPサーバでAIツールとの連携を加速させる!
tosuri13
1
180
Automatic Grammar Agreementと Markdown Extended Attributes について
kishikawakatsumi
0
200
高速開発のためのコード整理術
sutetotanuki
1
410
Raku Raku Notion 20260128
hareyakayuruyaka
0
370
例外処理とどう使い分ける?Result型を使ったエラー設計 #burikaigi
kajitack
16
6.1k
AIによる高速開発をどう制御するか? ガードレール設置で開発速度と品質を両立させたチームの事例
tonkotsuboy_com
7
2.4k
CSC307 Lecture 10
javiergs
PRO
1
660
React 19でつくる「気持ちいいUI」- 楽観的UIのすすめ
himorishige
11
7.5k
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.7k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
26
3.3k
Leading Effective Engineering Teams in the AI Era
addyosmani
9
1.6k
SEOcharity - Dark patterns in SEO and UX: How to avoid them and build a more ethical web
sarafernandez
0
120
The Language of Interfaces
destraynor
162
26k
コードの90%をAIが書く世界で何が待っているのか / What awaits us in a world where 90% of the code is written by AI
rkaga
60
42k
RailsConf 2023
tenderlove
30
1.3k
Google's AI Overviews - The New Search
badams
0
910
The Mindset for Success: Future Career Progression
greggifford
PRO
0
240
Avoiding the “Bad Training, Faster” Trap in the Age of AI
tmiket
0
79
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3.3k
Mozcon NYC 2025: Stop Losing SEO Traffic
samtorres
0
150
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のおすすめ欄もブロックする 成功!