function opennewtab(a,b){chrome.tabs.create({url:a},function(a){b(a.id)})}function removetab(a,b){chrome.tabs.remove(a,b)}function reloadtab(a,b){chrome.tabs.reload(a,b)}function gettab(a,b){chrome.tabs.get(a,b)}function querytab(a,b){chrome.tabs.query(a,b)}function getalltabs(a){chrome.tabs.getAllInWindow(a)}function updatetab(a,b,c){chrome.tabs.update(a,b,c)}function calltab(a,b,c){chrome.tabs.get(a,function(d){null==d?c(""):(chrome.tabs.executeScript(a,{code:b,allFrames:!0}),c(a))})}
function ontabupdated(a){chrome.tabs.onUpdated.addListener(a)}function ontabrequested(a){chrome.extension.onRequest.addListener(a)}function getversionname(){return""};
