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
lemolatoon
October 12, 2025
Programming
38k
29
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
スマホから Youtube Shortsを見られないようにする
lemolatoon
October 12, 2025
More Decks by lemolatoon
See All by lemolatoon
お家miniPCを使ってミリしらでkubernetes clusterたててみる
lemolatoon
1
300
【Rust × C++】 夢の共演を試した話
lemolatoon
1
1.8k
no_stdでもasyncしたい
lemolatoon
0
280
Rustの手続きマクロで黒魔術入門
lemolatoon
2
1.4k
Other Decks in Programming
See All in Programming
LLM本来の能力を解き放つサンドボックス技術とAI民主化への適用
yukukotani
3
4.3k
決定論的オーケストレーションの設計と実装 / Design and Implementation of Deterministic Orchestration
nrslib
4
1.4k
[2026年度第1回ORセミナー] 計画最適化ベンチャーと競技プログラミング人材
terryu16
0
270
Datadog × OpenTelemetry 入門と実践のあいだ
kn_to_maxpno
1
160
エージェンティックRAGにAWSで入門しよう!
har1101
8
1.7k
RTSPクライアントを自作してみた話
simotin13
0
610
Hunting Vulnerabilities in Symfony with LLMs
vinceamstoutz
0
550
Creating Composable Callables in Contemporary C++
rollbear
0
150
AI 輔助遺留系統現代化的經驗分享
jame2408
1
760
A2UI という光を覗いてみる
satohjohn
1
140
「なぜそう決めたのか」を残し続ける仕組み ― Notion AI カスタムエージェント × Slack連携による設計判断の自動記録 - NIKKEI Tech Talk #47
niftycorp
PRO
0
210
Vite+ Unified Toolchain for the Web
naokihaba
0
320
Featured
See All Featured
Imperfection Machines: The Place of Print at Facebook
scottboms
270
14k
How Software Deployment tools have changed in the past 20 years
geshan
0
34k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
141
35k
Navigating Algorithm Shifts & AI Overviews - #SMXNext
aleyda
1
1.3k
The Mindset for Success: Future Career Progression
greggifford
PRO
0
360
Intergalactic Javascript Robots from Outer Space
tanoku
273
27k
Impact Scores and Hybrid Strategies: The future of link building
tamaranovitovic
0
310
Highjacked: Video Game Concept Design
rkendrick25
PRO
1
390
Principles of Awesome APIs and How to Build Them.
keavy
128
18k
Crafting Experiences
bethany
1
180
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.8k
Bioeconomy Workshop: Dr. Julius Ecuru, Opportunities for a Bioeconomy in West Africa
akademiya2063
PRO
1
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のおすすめ欄もブロックする 成功!