esgy
esgy

Reputation: 392

How to incorporate XUL based plugin into an SDK based plugin?

I have a plugin build with the Addon SDK that manipulates HTTP requests and another one that manipulates the DOM but is build in the bootstrapped(XUL) way. Basically I have to incorporate the bootstraped plugin into the SDK based plugin to combine their functionality but without making too many changes to the XUL based plugin.

Is there any way to this without a massive rewrite of any of them?

Upvotes: 0

Views: 178

Answers (2)

erikvold
erikvold

Reputation: 16528

bootstrapped add-ons are very similar but far more chaotic, it'll be worth organizing your code if you plan to maintain it, and the sdk provides a sane test framework.

Upvotes: 1

therealjeffg
therealjeffg

Reputation: 5830

Does the older add-on use overlays? If so, a lot of work will be required to programmatically add the UI to Firefox in a restartless add-on. This is true regardless of whether you use the SDK or not.

Upvotes: 0

Related Questions