Use variable of the detected page

Hi everybody, I want to know if is it possible to use a javascript variable of the detected page. For exemple, if the detected page have a script like this:
<script ...>
var foo = "toto";
</script>

How can i do for using foo in my translator.

Thanks!

This is an old discussion that has not been active in a long time. Instead of commenting here, you should start a new discussion. If you think the content of this discussion is still relevant, you can link to it from your new discussion.