Shankar Sengalani
Shankar Sengalani

Reputation: 302

Create Protocol Handler in firefox addon sdk

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.

Upvotes: 1

Views: 120

Answers (1)

the8472
the8472

Reputation: 43042

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.

Upvotes: 2

Related Questions