Last active
January 1, 2016 02:59
-
-
Save takatama/8083154 to your computer and use it in GitHub Desktop.
Webページ上でスクリプトを実行するための Chrome 拡張機能
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"manifest_version": 2, | |
"name": "Name of this extension", | |
"version": "0.1", // 新しい拡張を公開するたびに上げていく | |
"description": "Description of this extension", | |
"icons": { | |
"128": "icon128.png" // chrome://extensions に表示されるアイコン。128x128 | |
}, | |
"page_action": { | |
"default_icon": "icon128.png", // アドレスバーに表示されるアイコン。19x19, 38x38 を準備しておくべき? | |
"default_title": "Tooltip for the page action icon" | |
}, | |
"permissions": [ | |
"tabs", | |
"https://www.google.com/maps/preview" // スクリプトを実行したいURLを記載していく | |
], | |
"background": { | |
"scripts": ["background.js"] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment