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 chromium-extensi...@googlegroups.com.
To unsubscribe from this group, send email to 
chromium-extensions+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/chromium-extensions?hl=.


Reply via email to