The ability to use UXP like GTK Webkit? Topic is solved

Discussions about the development and maturation of the Unified XUL Platform (UXP).
Warning: may contain highly-technical topics.

Moderator: trava90

Post Reply
User avatar
djgpp
Moonbather
Moonbather
Posts: 59
Joined: 2021-01-26, 05:39

The ability to use UXP like GTK Webkit?

Post by djgpp » 2021-04-18, 04:25

I mean the ability to be embed into application to provide web browsing support of GTK Webkit. It's similar to CEF, isn't it? Could UXP be employed to use for the same purpose? And how to properly do it?

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 9721
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: The ability to use UXP like GTK Webkit?

Post by New Tobin Paradigm » 2021-04-18, 06:58

Easy api hooking and embedding was destroyed by Mozilla with gecko/2 (Firefox 4) back in 2011-ish but it is still possible but is much much harder and must be built against and used with that specific binary only.

Practicly speaking no as I only know of two projects that even tried. The later not-quite-open-source geckofx on Windows and that one browser I can't remember the name of but it was also on Windows.

There is no documentation for this as Mozilla never wrote anything post gecko/2 in this regard except some gloating materal celebrating the destruction of a common use case that gave them an edge.

This destroyed a couple projects I was doing at the time so I know first hand how pissed people were when this happened.
The universe is driven by the complex interaction between three ingredients: matter, energy, and enlightened self-interest.
Image

User avatar
djgpp
Moonbather
Moonbather
Posts: 59
Joined: 2021-01-26, 05:39

Re: The ability to use UXP like GTK Webkit?

Post by djgpp » 2021-04-18, 11:45

New Tobin Paradigm wrote:
2021-04-18, 06:58
Easy api hooking and embedding was destroyed by Mozilla with gecko/2 (Firefox 4) back in 2011-ish but it is still possible but is much much harder and must be built against and used with that specific binary only.

Practicly speaking no as I only know of two projects that even tried. The later not-quite-open-source geckofx on Windows and that one browser I can't remember the name of but it was also on Windows.

There is no documentation for this as Mozilla never wrote anything post gecko/2 in this regard except some gloating materal celebrating the destruction of a common use case that gave them an edge.

This destroyed a couple projects I was doing at the time so I know first hand how pissed people were when this happened.
So the short answer is impossible. Thanks for your detailed clarification.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 9721
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: The ability to use UXP like GTK Webkit?

Post by New Tobin Paradigm » 2021-04-18, 11:48

Nothing is impossible and it is clearly possible but it isn't very practical.. Not anymore and that is a shame.
The universe is driven by the complex interaction between three ingredients: matter, energy, and enlightened self-interest.
Image

User avatar
moonbat
Knows the dark side
Knows the dark side
Posts: 3153
Joined: 2015-12-09, 15:45
Contact:

Re: The ability to use UXP like GTK Webkit?

Post by moonbat » 2021-04-19, 04:09

New Tobin Paradigm wrote:
2021-04-18, 06:58
except some gloating materal celebrating the destruction of a common use case that gave them an edge.

This destroyed a couple projects I was doing at the time so I know first hand how pissed people were when this happened.
Off-topic:
They celebrated their own destruction? Retarded fucking imbeciles :evil:
"One hosts to look them up, one DNS to find them and in the darkness BIND them."

Image
Linux Mint 20.1 Xfce x64 on HP i5-5200 laptop, 12 GB RAM.
AutoPageColor|PermissionsPlus|PMPlayer|Pure URL|RecordRewind|TextFX

User avatar
xjxyz
Hobby Astronomer
Hobby Astronomer
Posts: 15
Joined: 2021-03-19, 19:39
Location: Who knows?

Re: The ability to use UXP like GTK Webkit?

Post by xjxyz » 2021-04-20, 00:28

I know of another app that used to embed Gecko in a GTK window -- GNOME's help viewer, Yelp. It used XUL Runner until ~2011 (as a matter of fact), when Yelp switched to WebKit-GTK. To be perfectly honest, when Yelp switched to WebKit-GTK, the whole help viewer became more responsive. It may have just been a misuse of Gecko, or maybe there was something fundamentally slower about Gecko; but for whatever reason, this was obviously done on Linux too in the past.
Hang-Inducing Orphaned Zombie Garbage :twisted:

In theaters now -- Rated R

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 9721
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: The ability to use UXP like GTK Webkit?

Post by New Tobin Paradigm » 2021-04-20, 00:41

It was likely for the reason I stated. Easy embedding was no longer possible and the harder embedding required you build your embedded widget against a specific version build of xulrunner and no other. It went from broadly capable with any close by xulrunner to having to build against and use only with that EXACT version and build.

A lot of projects were affected by this at the time and never recovered.
The universe is driven by the complex interaction between three ingredients: matter, energy, and enlightened self-interest.
Image

User avatar
xjxyz
Hobby Astronomer
Hobby Astronomer
Posts: 15
Joined: 2021-03-19, 19:39
Location: Who knows?

Re: The ability to use UXP like GTK Webkit?

Post by xjxyz » 2021-04-20, 00:53

I'm not arguing with you at all; I'm just stating fact. You didn't give any specific examples of the embedding on Linux (as far as I could see), and I wanted to show an example myself. That's all. :|

(Did I misunderstand what you said?)
Hang-Inducing Orphaned Zombie Garbage :twisted:

In theaters now -- Rated R

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 9721
Joined: 2012-10-09, 19:37
Location: Sector 001

Re: The ability to use UXP like GTK Webkit?

Post by New Tobin Paradigm » 2021-04-20, 01:18

Well today there aren't any.. I don't think. As for various Powered by Mozilla projects there used to be a page dedicated to em.. Of course all are dead except the shitty geckofx successor, the mentioned Eclipse that lasted into the 20s, and that one browser I can't be bothered to look up..

Also I don't think I intended any specific hostility with my answer in this case nor do I think you misunderstood. But I am on drugs at the moment after an extraction of my three lower right molars.. So enjoy drugged up Tobin for the next few days.
The universe is driven by the complex interaction between three ingredients: matter, energy, and enlightened self-interest.
Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 30015
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: The ability to use UXP like GTK Webkit?

Post by Moonchild » 2021-04-20, 07:32

We used to be on that page too, until they forced us to fork off.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

User avatar
xjxyz
Hobby Astronomer
Hobby Astronomer
Posts: 15
Joined: 2021-03-19, 19:39
Location: Who knows?

Re: The ability to use UXP like GTK Webkit?

Post by xjxyz » 2021-04-20, 23:54

Off-topic:
Moonchild wrote:
2021-04-20, 07:32
fork off
I'm supposing that's supposed to be a less offensive way of using the other "F"-word-based phrase, at least in programming circles, right? :)

What I'm saying is: Mozilla didn't saddle up to you and say "You'd better fork the code now", I assume?
Hang-Inducing Orphaned Zombie Garbage :twisted:

In theaters now -- Rated R

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 30015
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: The ability to use UXP like GTK Webkit?

Post by Moonchild » 2021-04-21, 03:49

Off-topic:
xjxyz wrote:
2021-04-20, 23:54
I'm supposing that's supposed to be a less offensive way of using the other "F"-word-based phrase
No, it's not. But you can take it as a tongue-in-cheek pun if you like because they really didn't leave any other options open (well aside from me becoming their pseudo-employee, among other unacceptable options).
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

Post Reply