Do extensions work in other browsers?
-
- Guest
Do extensions work in other browsers?
Do XUL based firefox extensions work in any other browsers? If not, is there a way to make them compatible?
-
- Guest
-
- Posts: 52
- Joined: August 9th, 2006, 7:49 am
-
- Posts: 0
- Joined: December 31st, 1969, 5:00 pm
More complicated answer is that any browser based on Gecko will support extensions to varying degrees. For example, Flock, Thunderbird, and Firefox all use "toolkit" and are extensible in the same way. SeaMonkey/Mozilla Suite currently use "XPFE" which also supports extensions, but in a different way. K-Meleon doesn't provide for overlays or a UI for extensions, but it can still be done.
- Philip Chee
- Posts: 6475
- Joined: March 1st, 2005, 3:03 pm
- Contact:
Somebody managed to package the Mozilla ActiveX control as an IE plugin/BHO/whatever they are called. I guess this is somewhat the reverse of what the IETab extension does. Now if you can add some XULRunner bits to that control then you could add XULRunner extensions which will work as long as you are in "Mozilla Mode". Note: I'm just speculating wildly. I have no idea how difficult this will be.
Phil
Phil
-
- Posts: 8
- Joined: February 18th, 2007, 12:50 pm
Then it is probably possible. is there a tutorial somewhere that explains how to change the code to work in IE or safari?
I'm also having trouble figuring out how to make a toolbar button open a link in a new tab if you middle click on it. I've been looking all over the place, but I still can't figure it out.
I'm also having trouble figuring out how to make a toolbar button open a link in a new tab if you middle click on it. I've been looking all over the place, but I still can't figure it out.
- Philip Chee
- Posts: 6475
- Joined: March 1st, 2005, 3:03 pm
- Contact:
I'm afraid that you will have to totally reimplement what ever functionality you want to port. IE does not have a xul/xml like API. Perhaps XAML will be there one day but for the moment, you'll have to stick to writing ActiveX/BHOs in C++ or C# or NOT.NET.Jukilum wrote:Then it is probably possible. is there a tutorial somewhere that explains how to change the code to work in IE or safari?
Which part? The detect middle click bit? or the open in new tab bit?Jukilum wrote:I'm also having trouble figuring out how to make a toolbar button open a link in a new tab if you middle click on it. I've been looking all over the place, but I still can't figure it out.
Phil
-
- Posts: 8
- Joined: February 18th, 2007, 12:50 pm
I'll clarify:
I usedthis tutorial to learn how to make toolbars, and now I've been trying to use xul planet for referance. It has been confusing however, and I can't figure out what kind of oncommand thing to attatch to the buttons, and I also need help with writing a function to go with it that tells it to open the link in a new tab if middle clicked, and in the current window if left clicked. thanks for your help, and sorry I didn't respond for a long time, I was on a trip to California.
Edit: Also, someone told me that safari uses HTML for extensions, is this true?
I usedthis tutorial to learn how to make toolbars, and now I've been trying to use xul planet for referance. It has been confusing however, and I can't figure out what kind of oncommand thing to attatch to the buttons, and I also need help with writing a function to go with it that tells it to open the link in a new tab if middle clicked, and in the current window if left clicked. thanks for your help, and sorry I didn't respond for a long time, I was on a trip to California.
Edit: Also, someone told me that safari uses HTML for extensions, is this true?
- Philip Chee
- Posts: 6475
- Joined: March 1st, 2005, 3:03 pm
- Contact:
use the onclick handler attribute on your toolbar e.g. onclick="myClickHandler(event);"; then in your handler function check event.button for which mouse button was clicked; then use the Firefox convenience functions openNewTabWith() and openNewWindowWith().Jukilum wrote:It has been confusing however, and I can't figure out what kind of oncommand thing to attatch to the buttons, and I also need help with writing a function to go with it that tells it to open the link in a new tab if middle clicked, and in the current window if left clicked. thanks for your help, and sorry I didn't respond for a long time, I was on a trip to California.
I have no idea. Probably AJAX/DHTML.Jukilum wrote:Edit: Also, someone told me that safari uses HTML for extensions, is this true?
Phil