SeaMonkey fork

Discussions about applications built on our platform code that do not have a dedicated board.

Moderators: trava90, athenian200

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5175
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: SeaMonkey fork

Unread post by Night Wing » 2023-09-19, 23:46

Raava wrote:
2023-09-19, 22:14

Night Wing wrote:
2023-09-19, 15:30
I use 64 bit linux Pale Moon GTK2 and it is fast for me.
Did you ever compare the very same Linux PM version of GTK2 and GTK3 with each other?
Yes I did. The main problem with GTK3, for me, was with the Bookmarks Toolbar.

Since I have a 32" external monitor, I have a lot of folders on the Bookmarks Toolbar. The name of the folder is also included. The problem with GTK3 comes at the end of the Bookmarks Toolbar where the overflow asterisk is.

When I left clicked on the asterisk and the drop down context window opens up showing the rest of my named folders, if I wanted to take one of the folders and drag it onto the horizontal Bookmarks Toolbar, it could not be dragged there.

With GTK2, using the same steps as above, any folder in the context window could be dragged onto the horizontal Bookmarks Toolbar. So when I manually install a new version of 64 bit linux Pale Moon from the link below, I always choose GTK2.

https://www.palemoon.org/download.shtml
Linux Mint 21.3 (Virginia) Xfce w/ Linux Pale Moon, Linux Waterfox, Linux SeaLion, Linux Firefox
MX Linux 23.2 (Libretto) Xfce w/ Linux Pale Moon, Linux Waterfox, Linux SeaLion, Linux Firefox
Linux Debian 12.5 (Bookworm) Xfce w/ Linux Pale Moon, Linux Waterfox, Linux SeaLion, Linux Firefox

User avatar
wicknix
Fanatic
Fanatic
Posts: 173
Joined: 2018-03-26, 04:47
Location: Wisconsin, USA

Re: SeaMonkey fork

Unread post by wicknix » 2023-09-20, 04:01

Updated SeaLion with the webp fix and added a few default prefs changes. Also added a few more themes. I didn't create a new release on github, but rather just updated the binaries for the 32.4.0 release.

Cheers
Silence is golden, but duct tape is silver...

User avatar
fatboy
Astronaut
Astronaut
Posts: 558
Joined: 2017-12-19, 08:03
Location: Canada

Re: SeaMonkey fork

Unread post by fatboy » 2023-09-20, 05:15

Off-topic:
Thank You! Loving your browser btw, just a great piece of software.
Systemd Free - MX Linux, Antix Linux & Artix Linux

User avatar
wicknix
Fanatic
Fanatic
Posts: 173
Joined: 2018-03-26, 04:47
Location: Wisconsin, USA

Re: SeaMonkey fork

Unread post by wicknix » 2023-09-20, 05:28

YW. Btw i goofed on this Linux upload. Give me an hour and i'll have a new build up. The current one is missing some internal icons due to a slight oversight on my part.

Edit: Fixed Linux build uploaded.
Silence is golden, but duct tape is silver...

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 5175
Joined: 2011-10-03, 10:19
Location: Piney Woods of Southeast Texas, USA

Re: SeaMonkey fork

Unread post by Night Wing » 2023-09-20, 12:31

@ wicknix

A picture is worth a thousand words.

If you click on your link below, you will see in big bold letters and numbers, it still says (32.4.0). But right under the numbers, it says in smaller print, (32.4.0.1).

https://github.com/wicknix/SeaLion/releases

Since the eyes are drawn to the larger number, which says latest, you might need to change that too.
Linux Mint 21.3 (Virginia) Xfce w/ Linux Pale Moon, Linux Waterfox, Linux SeaLion, Linux Firefox
MX Linux 23.2 (Libretto) Xfce w/ Linux Pale Moon, Linux Waterfox, Linux SeaLion, Linux Firefox
Linux Debian 12.5 (Bookworm) Xfce w/ Linux Pale Moon, Linux Waterfox, Linux SeaLion, Linux Firefox

User avatar
Raava
Fanatic
Fanatic
Posts: 198
Joined: 2014-06-22, 22:23
Location: Europe

Re: SeaMonkey fork

Unread post by Raava » 2023-09-21, 04:48

@Night Wing
Thanks for the details between Linux PM versions of GTK2 and GTK3, much appreciated. :clap:
────────────────────────────────────────────────────
wicknix wrote:
2023-09-20, 04:01
Updated SeaLion with the webp fix
What's the webp fix about?
yours truly, Rava

q160765803
Apollo supporter
Apollo supporter
Posts: 35
Joined: 2023-04-13, 07:57

Re: SeaMonkey fork

Unread post by q160765803 » 2023-09-21, 08:07

Raava wrote:
2023-09-21, 04:48
wicknix wrote:
2023-09-20, 04:01
Updated SeaLion with the webp fix
What's the webp fix about?
thats CVE-2023-4863
details: https://www.tarlogic.com/blog/cve-2023-4863/

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35653
Joined: 2011-08-28, 17:27
Location: Motala, SE

Re: SeaMonkey fork

Unread post by Moonchild » 2023-09-21, 09:02

q160765803 wrote:
2023-09-21, 08:07
CVE-2023-4863
It doesn't seem to be directly exploitable in our platform code, by the way, so mostly a defense-in-depth fix.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

User avatar
fatboy
Astronaut
Astronaut
Posts: 558
Joined: 2017-12-19, 08:03
Location: Canada

Re: SeaMonkey fork

Unread post by fatboy » 2023-09-22, 18:07

@wicknix, Sorry to nag you again about an extension.

A very kind user name jars_ recently shared an xpi file with me called "Hit a hint", very cool extension that highlights links with numbers when spacebar is pressed. It works on Pale Moon and Basilisk as it. However, I am now trying to get it to work on Sealion.

POST viewtopic.php?f=46&t=30278
Link to XPI https://mega.nz/file/fM1nUCRa#7uX8HN47q ... 95PykH69iM

I extracted the xpi, edited the install.rdf file to add the Seamonkey UUID, zipped it again as xpi, but I am still having issues getting it installed. Here is my install.rdf file:

I am not a 100% where to paste the <!-- SeaMonkey --> snippet, at the top of the file?

Code: Select all

<?xml version="1.0"?>
<RDF:RDF xmlns:em="http://www.mozilla.org/2004/em-rdf#"
         xmlns:NC="http://home.netscape.com/NC-rdf#"
         xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
  <RDF:Description RDF:about="rdf:#$9XuHR2"
                   em:id="{ec8030f7-c20a-464f-9b0e-13a3a9e97384}"
                   em:minVersion="1.5"
                   em:maxVersion="26.0" />
  <RDF:Description RDF:about="urn:mozilla:extension:file:hah.jar"
                   em:package="content/hah/"
                   em:skin="skin/classic/hah/">
    <em:locale>locale/en-US/hah/</em:locale>
    <em:locale>locale/fi-FI/hah/</em:locale>
    <em:locale>locale/it-IT/hah/</em:locale>
    <em:locale>locale/fr-FR/hah/</em:locale>
    <em:locale>locale/hu-HU/hah/</em:locale>
  </RDF:Description>
  <RDF:Description RDF:about="urn:mozilla:install-manifest"
                   em:id="{4476fef4-3557-40b5-afcd-d6903cf7cc9d}"
                   em:version="0.9.1"
                   em:name="Hit-a-Hint"
                   em:description="Click links by hitting hints!"
                   em:creator="Pekka Sillanpaa"
                   em:homepageURL="http://hah.mozdev.org"
                   em:iconURL="chrome://hah/skin/icon.png"
                   em:optionsURL="chrome://hah/content/preferences.xul"
                   em:type="2">
  <em:targetApplication>
  <!-- SeaMonkey -->
  <Description>
    <em:id>{92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a}</em:id>
    <em:minVersion>2.0</em:minVersion>
    <em:maxVersion>2.*</em:maxVersion>
  </Description>
</em:targetApplication> 
                   
    <em:targetApplication RDF:resource="rdf:#$9XuHR2"/>
    <em:file RDF:resource="urn:mozilla:extension:file:hah.jar"/>
  </RDF:Description>
</RDF:RDF>

Systemd Free - MX Linux, Antix Linux & Artix Linux

User avatar
wicknix
Fanatic
Fanatic
Posts: 173
Joined: 2018-03-26, 04:47
Location: Wisconsin, USA

Re: SeaMonkey fork

Unread post by wicknix » 2023-09-23, 14:48

That extension originally didn't support seamonkey. I made a few modifications to it, and now it works on sealion. I added it to the sealion-extras.zip on github.

Cheers
Silence is golden, but duct tape is silver...

User avatar
fatboy
Astronaut
Astronaut
Posts: 558
Joined: 2017-12-19, 08:03
Location: Canada

Re: SeaMonkey fork

Unread post by fatboy » 2023-09-24, 15:17

wicknix wrote:
2023-09-23, 14:48
That extension originally didn't support seamonkey. I made a few modifications to it, and now it works on sealion. I added it to the sealion-extras.zip on github.

Cheers
Off-topic:
Amazing! Thank You so much!
Systemd Free - MX Linux, Antix Linux & Artix Linux

User avatar
fatboy
Astronaut
Astronaut
Posts: 558
Joined: 2017-12-19, 08:03
Location: Canada

Re: SeaMonkey fork

Unread post by fatboy » 2023-09-28, 16:23

So I solved my reader mode "issue" I had with Sealion on Linux.

All you need is the Dorando Keyconfig Extension, then execute the below script with your keybinding of choice. This bit of code goes into the /* CODE */ of Dorando when you create a new key. The code is simplyread, but edited very slightly to change background color and font color. see https://njw.name/simplyread/

Code: Select all

/* See LICENSE file for copyright, license and warranty details. */

if(window.content && window.content.document && window.content.document.simplyread_original === undefined) window.content.document.simplyread_original = false;

function simplyread(nostyle, nolinks)
{
	/* count the number of <p> tags that are direct children of parenttag */
	function count_p(parenttag)
	{
		var n = 0;
		var c = parenttag.childNodes;
		for (var i = 0; i < c.length; i++) {
			if (c[i].tagName == "p" || c[i].tagName == "P")
				n++;
		}
		return n;
	}
	
	var doc;
	doc = (document.body === undefined)
	      ? window.content.document : document;
	
	/* if simplyread_original is set, then the simplyread version is currently active,
	 * so switch to the simplyread_original html */
	if (doc.simplyread_original) {
		doc.body.innerHTML = doc.simplyread_original;
		for (var i = 0; i < doc.styleSheets.length; i++)
			doc.styleSheets[i].disabled = false;
		doc.simplyread_original = false
		return 0;
	}
	
	doc.simplyread_original = doc.body.innerHTML;
	doc.body.innerHTML = doc.body.innerHTML.replace(/<br[^>]*>\s*<br[^>]*>/g, "<p>");
	
	var biggest_num = 0;
	var biggest_tag;
	
	/* search for tag with most direct children <p> tags */
	var t = doc.getElementsByTagName("*");
	for (var i = 0; i < t.length; i++) {
		var p_num = count_p(t[i]);
		if (p_num > biggest_num) {
			biggest_num = p_num;
			biggest_tag = t[i];
		}
	}
	
	if (biggest_num == 0) return 1;
	
	/* save and sanitise content of chosen tag */
	var fresh = doc.createElement("div");
	fresh.innerHTML = biggest_tag.innerHTML;
	fresh.innerHTML = fresh.innerHTML.replace(/<\/?font[^>]*>/g, "");
	fresh.innerHTML = fresh.innerHTML.replace(/style="[^"]*"/g, "");
	if(nolinks)
		fresh.innerHTML = fresh.innerHTML.replace(/<\/?a[^>]*>/g, "");
	fresh.innerHTML = fresh.innerHTML.replace(/<\/?span[^>]*>/g, "");
	fresh.innerHTML = fresh.innerHTML.replace(/<style[^>]*>/g, "<style media=\"aural\">"); /* ensures contents of style tag are ignored */
	
	for (var i = 0; i < doc.styleSheets.length; i++)
		doc.styleSheets[i].disabled = true;
	
	srstyle =
		"p{margin:0ex auto;} h1,h2,h3,h4{font-weight:normal}" +
		"p+p{text-indent:2em;} body{background:#7F8BA4 none}" +
		"img{display:block; margin-left: auto; margin-right: auto;}" +
		"h1{text-align:center;text-transform:uppercase}" +
		"div#sr{width:50em;padding-top:2em;" +
		"  background-color:#7F8BA4; margin:auto; line-height:1.4;" +
		"  text-align:justified; font-family:'monospace'; font-size:20px; color:#FFFFFF; hyphens:auto;}";
		/* text-rendering:optimizeLegibility; - someday this will work,
		 *   but at present it just ruins justify, so is disabled */
	
	doc.body.innerHTML =
		"<style type=\"text/css\">" + (nostyle ? "" : srstyle) + "</style>" +
		"<div id=\"sr\">" + "<h1>"+doc.title+"</h1>" + fresh.innerHTML + "</div>";
	
	return 0;
}

simplyread();

It looks like this:
readermode_sealion.png

EDIT: I am hoping to post a how-to guide on setting up Dorando Keyconfig with Sealion to make it a very badass browser
You do not have the required permissions to view the files attached to this post.
Systemd Free - MX Linux, Antix Linux & Artix Linux

User avatar
wicknix
Fanatic
Fanatic
Posts: 173
Joined: 2018-03-26, 04:47
Location: Wisconsin, USA

Re: SeaMonkey fork

Unread post by wicknix » 2023-09-30, 03:54

That’s pretty slick. Thanks for sharing. :thumbup:
Silence is golden, but duct tape is silver...

User avatar
fatboy
Astronaut
Astronaut
Posts: 558
Joined: 2017-12-19, 08:03
Location: Canada

Re: SeaMonkey fork

Unread post by fatboy » 2023-10-03, 19:28

wicknix wrote:
2023-09-30, 03:54
That’s pretty slick. Thanks for sharing. :thumbup:
You are most welcome. Here is a full list of tweaks I did:

viewtopic.php?f=19&t=30377
Systemd Free - MX Linux, Antix Linux & Artix Linux

User avatar
Keith Moon
Moongazer
Moongazer
Posts: 7
Joined: 2021-03-08, 02:59

Re: SeaMonkey fork

Unread post by Keith Moon » 2023-10-11, 22:51

Is NetFusion (as a completed binary) downloadable from GitHub, or does it need to be built?
Which add-ons work with it? Does Lootyhoof's Photonic theme work?
Thank you :)