Source code

Revision control

Copy as Markdown

Other Tools

browser.runtime.onMessage.addListener(notify);
function notify(message) {
if (message.action == "showTab") {
browser.tabs.update({ url: "/tab.html" });
}
}