Skip to navigation
How to get the main url or host of a visited website with a firefox add-on
23.02.17
var tabs = require("sdk/tabs"); var url = require("sdk/url") var host = url.URL(tabs.activeTab.url).host console.log(host);
https://developer.mozilla.org/en-US/Add-ons/SDK/High-Level_APIs/url
Reply
Anonymous
Information Epoch 1732634783
Using text data files.
Home
Notebook
Contact us