はじめに 今回はコンテキストメニューについてです。 コンテキストメニューを出すためのcreateメソッドの引数createPropertiesの内容を中心にして紹介します。 使ってみる manifest.json コンテキストメニューを使うには、manifest.jsonの"permissions"に"contextMenus"を追加します。 コンテキストメニューに対する処理はbackground.html内に記述します。アイコンは128を指定していますが、16x16が推奨サイズです。 { "name" : "ContextmenuSample", "version" : "1.0.0", "background_page" : "background.html", "permissions" : [ "contextMenus", "http://*/*", "https://*/*"