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
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
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
220
【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
CSC307 Lecture 02
javiergs
PRO
1
770
AI によるインシデント初動調査の自動化を行う AI インシデントコマンダーを作った話
azukiazusa1
1
570
CSC307 Lecture 05
javiergs
PRO
0
490
なぜSQLはAIぽく見えるのか/why does SQL look AI like
florets1
0
360
AIで開発はどれくらい加速したのか?AIエージェントによるコード生成を、現場の評価と研究開発の評価の両面からdeep diveしてみる
daisuketakeda
1
920
AI Schema Enrichment for your Oracle AI Database
thatjeffsmith
0
140
カスタマーサクセス業務を変革したヘルススコアの実現と学び
_hummer0724
0
390
20260127_試行錯誤の結晶を1冊に。著者が解説 先輩データサイエンティストからの指南書 / author's_commentary_ds_instructions_guide
nash_efp
0
470
そのAIレビュー、レビューしてますか? / Are you reviewing those AI reviews?
rkaga
5
4.3k
AIエージェントの設計で注意するべきポイント6選
har1101
7
3.3k
16年目のピクシブ百科事典を支える最新の技術基盤 / The Modern Tech Stack Powering Pixiv Encyclopedia in its 16th Year
ahuglajbclajep
5
930
高速開発のためのコード整理術
sutetotanuki
1
330
Featured
See All Featured
Design and Strategy: How to Deal with People Who Don’t "Get" Design
morganepeng
133
19k
Building Better People: How to give real-time feedback that sticks.
wjessup
370
20k
Lessons Learnt from Crawling 1000+ Websites
charlesmeaden
PRO
1
1k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.9k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
16
1.8k
Imperfection Machines: The Place of Print at Facebook
scottboms
269
14k
Design in an AI World
tapps
0
130
AI: The stuff that nobody shows you
jnunemaker
PRO
2
200
Are puppies a ranking factor?
jonoalderson
1
2.6k
Keith and Marios Guide to Fast Websites
keithpitt
413
23k
What Being in a Rock Band Can Teach Us About Real World SEO
427marketing
0
170
Building the Perfect Custom Keyboard
takai
2
670
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のおすすめ欄もブロックする 成功!