On Fri, Oct 3, 2014 at 6:56 PM, James Willcox <[email protected]> wrote:
> Roman,
> Mark recently posted about this[0]. A lot of folks want this, so hopefully 
> something will happen soonish.

I compiled GeckoView library with Mark's patches from [1].

I use geckoView.importScript("resource://android/assets/android.js")
to load initialization script:
---
function load(params) {
    console.log("window", params.toString());
    console.log("window", params.window.toString());
    console.log("window.document", params.window.document.toString());
    console.log("android.js loaded");
}
--

How can I add custom JavaScript function available in all browsers
tabs like, say, `window' or `console'?
I want to use this custom API from my web app...

Thanks!

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1035420

-- 
WBR,
   Roman Tsisyk <[email protected]>
_______________________________________________
mobile-firefox-dev mailing list
[email protected]
https://mail.mozilla.org/listinfo/mobile-firefox-dev

Reply via email to