I am having plenty of trouble with getting the info on the selected
tab.
It seems to refuse to get the information:
<html><script>
chrome.browserAction.onClicked.addListener(
function(tab)
{
chrome.tabs.getSelected(null, function(tab){
url = tab:url;
title = tab:title;
delsave =
'http://delicious.com/save?url='+ url +'&title='+ title
+'&v=5&jump=yes'
var deltab = chrome.tabs.create({url :
delsave, selected :
false});
});
}
)
</script></html>
the end result is supposed to be a new tab popping up with the info of
the selected tab.
--
You received this message because you are subscribed to the Google Groups
"Chromium-extensions" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/chromium-extensions?hl=.