chrome 浏览器插件右键打开窗口并获取tabid
chrome.contextMenus.create({ title: "Open frame in new tab", onclick: function(info, tab){ chrome.tabs.create({ url: info.frameUrl || info.pageUrl, index: tab.index + 1, selected: true }); } });
转自:https://www.cnblogs.com/sohighthesky/archive/2011/04/14/open-frame-in-new-tab.html
浙公网安备 33010602011771号