P
P
Pasha2014-08-17 13:34:11
Browser extensions
Pasha, 2014-08-17 13:34:11

How to return value from chrome extension callback?

Let's say there is a code.

chrome.tabs.onUpdated.addListener(function(value) {
return value ; //undefined
}) ;

How to return this value?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey Krasnodemsky, 2014-08-17
@Prognosticator

Could you write in more detail where you are returning what, what is required? What is your code supposed to do?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question