Jone_Mikle
Jone_Mikle

Reputation: 1

Firefox android extension for Injecting javascript

I am attempting to develop a mobile Firefox extension that injects any javascript code to any pages. On desktop, you can use:

browser.tabs.executeScript()  

to injects javascript to a page, however this method is not supported by the mobile Firefox browser. I am just wondering if there is another way to inject javascript to pages for mobile extension.

Upvotes: 0

Views: 182

Answers (2)

Andrew Swan
Andrew Swan

Reputation: 1343

browser.tabs.executeScript() is supported on Android beginning in Firefox 54 which is currently on the Beta channel, scheduled to go to release in mid-June.

Upvotes: 0

orabis
orabis

Reputation: 2809

You may try OilCan (http://oilcan.jsharkey.org/). it allows inserting custom JavaScript for pages matching a URL pattern

Upvotes: 0

Related Questions