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
Chrome拡張機能をつくる #TechLunch
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
Livesense Inc.
April 22, 2014
Technology
0
96
Chrome拡張機能をつくる #TechLunch
Chrome拡張機能をつくる
2013/11/26 (水) @ Livesense TechLunch
発表者:鈴木 健太
Livesense Inc.
April 22, 2014
Tweet
Share
More Decks by Livesense Inc.
See All by Livesense Inc.
27新卒_総合職採用_会社説明資料
livesense
0
3.4k
27新卒_Webエンジニア職採用_会社説明資料
livesense
0
7.5k
株式会社リブセンス・転職会議 採用候補者様向け資料
livesense
0
260
株式会社リブセンス 会社説明資料(報道関係者様向け)
livesense
1
1.7k
データ基盤の負債解消のためのリプレイス
livesense
0
570
26新卒_総合職採用_会社説明資料
livesense
0
13k
株式会社リブセンス会社紹介資料 / Invent the next common.
livesense
2
56k
26新卒_Webエンジニア職採用_会社説明資料
livesense
1
13k
中途セールス職_会社説明資料
livesense
0
300
Other Decks in Technology
See All in Technology
システム標準化PMOから ガバメントクラウドCoEへ
techniczna
1
120
Cortex Code CLI と一緒に進めるAgentic Data Engineering
__allllllllez__
0
410
決済サービスを支えるElastic Cloud - Elastic Cloudの導入と推進、決済サービスのObservability
suzukij
2
660
Go標準パッケージのI/O処理をながめる
matumoto
0
220
Zero Data Loss Autonomous Recovery Service サービス概要
oracle4engineer
PRO
2
13k
Claude Code 2026年 最新アップデート
oikon48
13
10k
楽しく学ぼう!ネットワーク入門
shotashiratori
1
460
Postman v12 で変わる API開発ワークフロー (Postman v12 アップデート) / New API development workflow with Postman v12
yokawasa
0
140
20260311 技術SWG活動報告(デジタルアイデンティティ人材育成推進WG Ph2 活動報告会)
oidfj
0
360
【Oracle Cloud ウェビナー】【入門編】はじめてのOracle AI Data Platform - AIのためのデータ準備&自社用AIエージェントをワンストップで実現
oracle4engineer
PRO
1
150
Yahoo!ショッピングのレコメンデーション・システムにおけるML実践の一例
lycorptech_jp
PRO
1
220
The_Evolution_of_Bits_AI_SRE.pdf
nulabinc
PRO
0
240
Featured
See All Featured
Hiding What from Whom? A Critical Review of the History of Programming languages for Music
tomoyanonymous
2
560
Designing for Performance
lara
611
70k
svc-hook: hooking system calls on ARM64 by binary rewriting
retrage
2
170
The Cult of Friendly URLs
andyhume
79
6.8k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
16k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
0
230
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
No one is an island. Learnings from fostering a developers community.
thoeni
21
3.6k
Skip the Path - Find Your Career Trail
mkilby
1
80
Principles of Awesome APIs and How to Build Them.
keavy
128
17k
Producing Creativity
orderedlist
PRO
348
40k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Transcript
γεςϜ։ൃ෦ɹϝσΟΞ։ൃୈ̎άϧʔϓ Copyright © LIVESENSE Inc. ླɹ݈ଠ Chrome֦ுػೳΛ࡞Δ Cybozu Hack
None
None
拡張機能でできること
• λϒ • ͓ؾʹೖΓ • ݱࡏද͍ࣔͯ͠Δϖʔδ • όοΫάϥϯυʹৗற • ΫϦοϓϘʔυ
• ΫοΩʔ • σεΫτοϓ௨ ͍Ζ͍Ζ͍͡Ε·͢ http://developer.chrome.com/extensions/declare_permissions.html
• Javascript • HTML • Css • ը૾ ඞཁͳͷ
None
Chromeで確認
作り方
manifest.json ઃఆϑΝΠϧ { "manifest_version": 2, “name”:
“拡張機能の名前", “version”: “バージョン番号", “descrip8on”: “この拡張機能はこんなことができます", "icons": {...}, "background": { “persistent”: false // バックグラウンドに常駐しない }, “background_page”: ..., // バックグラウンドで色々やってくれるやつ “permissions”: [“hCp://*.google.com/”, ”no8fica8ons“], // 権限ください 続く…
manifest.json ઃఆϑΝΠϧ …続き "browser_ac8on": {
“default_icon”: “img/icon.png”, // 表示するアイコン “default_popup”: “popup.html” // アイコンをクリックしたときに表示する画面 }, “op8ons_page”: “op8ons.html” // オプション(設定)画面 }
৭ʑͬͯΈΔ %&.0
Chromeͷ֦ுػೳ͕ॏ͍ݪҼͷҰ͕ͭ ʮόοΫάϥϯυϖʔδ͕ৗʹ։͍͍ͯΔʯ͜ͱ όοΫάϥϯυʹৗற͠ͳ͍ ඞཁʹԠͯ͡ϖʔδΛ։͍ͯϦιʔεফඅΛݮ͢Δ &WFOU1BHF
# 5ຖʹόοΫάϥϯυΛى͜͢ΞϥʔϜΛηοτ chrome.alarms.create(‘alarmName’, { periodInMinutes: 5}); # ΞϥʔϜ͕ͳͬͨͱ͖ͷॲཧ chrome.alarms.onAlarm.addListener(function(alarm) {
alert(alarm.name); }, this)); όοΫάϥϯυΞϥʔϜͰى͜͞ΕΔ
σʔλͷอଘ MPDBM4UPSBHF ͍ͭϖʔδ͕ফ͍͍͑ͯΑ͏ʹɺσʔλஞ࣍อଘ
CybozuのChrome拡張機能 をつくってみた
αΠϘζ͋Δ͋Δ ༧ఆ͕ೖ͍ͬͯͨͷʹΕͯͨ
ということで、 予定の数分前に通知してくれる 拡張機能をつくってみた
αΠϘζ αΠϘζެࣜΩϟϥΫλʔʮϘζϚϯʯ͕௨ͯ͘͠Ε·͢ɻ
αΠϘζ %&.0
͝ਗ਼ௌ͋Γ͕ͱ͏͍͟͝·ͨ͠ɻ