I want to create an extension with a protocol handler using firfox addon-sdk. So that if i do shan:something it should redirect to some other url like (www.google.com).
Thanks in advance.
I want to create an extension with a protocol handler using firfox addon-sdk. So that if i do shan:something it should redirect to some other url like (www.google.com).
Thanks in advance.
To access Components, i.e. features outside the the SDK modules you will need to use require("chrome") to import those capabilities.
The rest is already covered by the answer that @noitdart linked.