[chrome extention] 右クリックで。
chrome.contextMenus.create({
contexts:["selection"], // allとか
title: "%s を一括検索 aucru shopping",
onclick: function(info, tab) {
}
});
background.js にこれを書くとすべてのページで右クリックが反映されます。
%s は selectionText が自動的に入ります。
chrome.contextMenus.create({
contexts:["selection"], // allとか
title: "%s を一括検索 aucru shopping",
onclick: function(info, tab) {
}
});
background.js にこれを書くとすべてのページで右クリックが反映されます。
%s は selectionText が自動的に入ります。