diff --git a/chrome.manifest b/chrome.manifest index 88f123c0..ac762e7e 100644 --- a/chrome.manifest +++ b/chrome.manifest @@ -44,4 +44,3 @@ resource treestyletab-modules modules/ component {305122d0-5bdc-11de-8a39-0800200c9a66} components/AboutGroup.js contract @mozilla.org/network/protocol/about;1?what=treestyletab-group {305122d0-5bdc-11de-8a39-0800200c9a66} -category profile-after-change about:treestyletab-group handler @mozilla.org/network/protocol/about;1?what=treestyletab-group diff --git a/components/AboutGroup.js b/components/AboutGroup.js index 00dea7ca..53400688 100644 --- a/components/AboutGroup.js +++ b/components/AboutGroup.js @@ -43,15 +43,9 @@ function AboutGroup() } AboutGroup.prototype = { - get contractID() { - return '@mozilla.org/network/protocol/about;1?what=treestyletab-group'; - }, - get classDescription() { - return 'about:treestyletab-group handler'; - }, - get classID() { - return Components.ID('{305122d0-5bdc-11de-8a39-0800200c9a66}'); - }, + contractID : '@mozilla.org/network/protocol/about;1?what=treestyletab-group', + classDescription : 'about-treestyletab-group', + classID : Components.ID('{305122d0-5bdc-11de-8a39-0800200c9a66}'), newChannel : function(aURI) {