[Project_owners] get variable from current page

Jesper Staun Hansen jesper at heroes-addon.dk
Tue Apr 15 12:54:43 PDT 2008


Firebug extension does it.

joe ertaba wrote:
> Hi,
>
> is there any way to get used variable in current document from extension
>
> e.g
> html code of current document
> .....
> <script type="text/javascript">
> var bb="bbb";
> </script>
> ......
>
>
>
>
> I want to use bb variable in my Firefox extension
> ----
> maybe by searching in document.body.innerHTML ?!
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Project_owners mailing list
> Project_owners at mozdev.org
> https://www.mozdev.org/mailman/listinfo/project_owners
>   



More information about the Project_owners mailing list