Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
plasmoを使ってみた
Search
Daisuke
September 30, 2024
Programming
47
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
plasmoを使ってみた
Daisuke
September 30, 2024
More Decks by Daisuke
See All by Daisuke
iOSアプリ開発 with Claude Code
dsuke0614
0
25
GitHubに毎日草を生やし続けたら変わった3つのこと🌱
dsuke0614
1
240
Other Decks in Programming
See All in Programming
TiDB Cloudのカスタムコントローラーによるオートスケール対応
takaidohigasi
0
140
スマートフォンでモールス信号を送受信する 〜スマートフォンのLEDとカメラで作る光通信の設計と実装〜
atsuki_seo
0
220
APNsからLive Activityを開始する話
yumnumm
0
150
巨大モノリシックアプリ モダン化大作戦
ktcryomm
1
1.2k
モバイル交通系ICへのチャージ実例から考える、クロスプラットフォーム開発におけるiOS実機テスト設計とCI運用
yusuga
1
570
動作中のプログラムの中身をリアルタイムに覗く / Realtime Debugger for CSharp with Roslyn
prota
1
1.7k
標準パッケージに uuid が追加された 背景から見る Go らしい意思決定 / go_127_uuid_decision
convto
5
9.4k
速習iPhone Duo対応
yuukiw00w
2
930
GitHubハンズオン講座 — 実務レベルのチーム開発のフローを身につけよう
junhat6
0
120
Intent as Code
shoppingjaws
6
1.1k
Agentic Software Factoryに、すごく賢いIF文を。 / super smart IF statement into the Agentic Software Factory.
rkaga
1
450
難しいけど、読めた。- OSSの入口に立った話。
sts11142
0
130
Featured
See All Featured
Claude Code どこまでも/ Claude Code Everywhere
nwiizo
68
58k
Technical Leadership for Architectural Decision Making
baasie
3
590
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
11
1k
So, you think you're a good person
axbom
PRO
2
2.2k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
610
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
500
How to train your dragon (web standard)
notwaldorf
97
6.8k
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
390
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
710
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
850
Transcript
plasmo を使ってみた
Kida Daisuke(@0614d_suke) web developer. - https://github.com/D-suke0614 - https://zenn.dev/d_suke0614
話すこと - 拡張機能を開発する際の手順 - plasmoの紹介 - plasmoを使ったら簡単に拡張機能が作れる! 話さないこと - 拡張機能やplasmoについての詳細や実装方法など
Chrome拡張機能とは
1. プロジェクトディレクトリの作成 2. manifest.jsonの作成 a. https://qiita.com/shiro1212/items/12f0a767494a7b2ab0b3 3. 機能の実装 4. Chromeで読み込む
https://developer.chrome.com/docs/extensions/get-started/tutori al/hello-world?hl=ja Chrome拡張機能の作り方
1. プロジェクトディレクトリの作成 2. manifest.jsonの作成 a. https://qiita.com/shiro1212/items/12f0a767494a7b2ab0b3 3. 機能の実装 4. Chromeで読み込む
https://developer.chrome.com/docs/extensions/get-started/tutori al/hello-world?hl=ja Chrome拡張機能の作り方
manifest.json - 拡張機能に関する設定ファイル - 名前 - バージョン - 各ファイルのパス指定 -
アイコン - 権限の指定 - ホストの指定など
デモ content scriptsを追加
plasmoとは - 拡張機能を簡単に開発、テスト、リリースできるオールインワンプラット フォーム - TS, React, Preact, Svelte, Vueをサポートしている
- 拡張機能に必要な設定周りをフレームワーク側でいい感じに吸収してくれ ている - ソースファイルを元に、manifest.jsonを自動生成
plasmoを使うと嬉しいこと - ゼロコンフィグで開発を進められる - manifest.jsonをほぼ意識しなくて良い - ロジックや見た目に集中できる - デフォルトでReact +
TSがサポートされている
デモ content scriptsを追加 バニラで実装したときとの比較
plasmoのその他の機能 - Background Service Workerもbackground.tsを追加するだけで実行 できる - Messaging APIが使える -
デプロイ用のスクリプトが用意されている
その他のFW - WXT - Viteベース - 全てのブラウザに対応 - Extension.js -
既存PJに組み込み可能
まとめ - plasmoを使うと簡単に拡張機能が作れておすすめ - manifest.jsonをあまり意識せず、ロジックや見た目に集中できる - 拡張機能を作ってみるきっかけになれば
thank you.