PDA

View Full Version : [SOLVED] Firefox extension javascript on page calling extension function



amsterdamharu
February 13th, 2011, 09:19 AM
For lack of knowing a better forum for this I ask the question here. Sorry if it's inappropriate and thank you for reading it anyway.

The question is that I want to call a function in my extension from javascript on the page.

Have read through a tutorial here and there but can't really find what I'm looking for.

Thanks for reading this and hope someone with more experience can answer this.

amsterdamharu
February 13th, 2011, 09:28 AM
Sorry to bother you, this is solved (I think)
https://developer.mozilla.org/en/Code_snippets/Interaction_between_privileged_and_non-privileged_pages

This page is dynomite I am still looking for a more traditional api doc but this will have to do for now:
https://developer.mozilla.org/en/Code_snippets