Access function from background page in Chrome extension?

But here is couple workarounds: Pass your url as get parameter during tab creation ( history. Html? Url=In history.

Html you can use chrome.extension. GetBackgroundPage().getMyUrl() I would use the first solution as it is the easiest and fastest.

But here is couple workarounds: Pass your url as get parameter during tab creation (history. Html? Url=) Use requests.

Chrome.extension. SendRequest({url:url}); in bkgd page and chrome.extension.onRequest.addListener() in history. Html Use "pull" instead of "push".

In history. Html you can use chrome.extension. GetBackgroundPage().getMyUrl() I would use the first solution as it is the easiest and fastest.

– LDK Oct 21 '10 at 17:02 1 @LDK I think it still would but if you need to pass so many data then probably other solutions would be better. If you are passing big amounts of data it would be more efficient to use long lived connections: code.google.Com/chrome/extensions/dev/messaging. Html#connect – serg Oct 21 '10 at 17:11.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions