- #1
olgerm
Gold Member
- 531
- 34
I am trying to make a browser extension. Tutorial (https://developer.mozilla.org/en-US/Add-ons) from mozilla webpage teaches to make these in javascript, but is it possible to make browser extension in some other programming language?
How can I get URL of the tab user is watching. I tried browser.tabs.query({active: true, currentWindow: true},function(tabs){var URL = tabs[0].url;}) but it always makes variable URL equal to "undefined". Maybe because this script tries to get URL of extension's sidebar.
How can get data from webpage with given URL to further process it in same browser extension?
How can I get URL of the tab user is watching. I tried browser.tabs.query({active: true, currentWindow: true},function(tabs){var URL = tabs[0].url;}) but it always makes variable URL equal to "undefined". Maybe because this script tries to get URL of extension's sidebar.
How can get data from webpage with given URL to further process it in same browser extension?