Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


roytam1

My build of New Moon (temp. name) a.k.a. Pale Moon fork targetting XP

Recommended Posts

Thanks @VistaLover. PM has a "slow startup" help page? (FF and Serpent don't seem to.) Do you have a suggested replacement URL? (For app.support.baseURL I was just going to point to Mozilla.)

10 minutes ago, siria said:

If overriding omni prefs with external pref files doesn't work, there's something wrong. Perhaps the folder path?? Try both locations, the ancient and the new one? Many years ago in Firefox the path for defaults was changed from "Firefox/defaults/pref" to "Firefox/browser/defaults/preferences".

Yeah, I tried both. Actually I tried <install dir>/defaults/pref first, since that path already existed; when it didn't work I created defaults/preferences/ under browser/ but had the same result: it added new prefs but didn't override the built-in ones.

It probably depends on the order the .js files are run at startup, with the last file to set a pref "winning."

Now I didn't try it with Firefox, so maybe it works there, but we're not changing FF! I tried with both Serpent and New Moon and got that result.

In the omni.ja I extracted, there are several subdirectories under defaults/: autoconfig/, pref/, and preferences/. I haven't done extensive testing but at this point it appears the contents of preferences/ are run last; hence, can't be overridden (except by user prefs). It's certainly possible MCP changed the order these run at startup.

3 minutes ago, siria said:

Yep, of course they should go into an own new file. Like newmoon.js or whatever, name can be freely chosen.

Or maybe even palemoon-branding.js, which is the one I changed ;) (unofficial branch only, of course).

  • Like 1

Share this post


Link to post
Share on other sites

Posted (edited)
55 minutes ago, Mathwiz said:

For app.support.baseURL I was just going to point to Mozilla

... And why would you not link to this very MSFN thread? :dubbio:It would be consistent with what is already displayed in @roytam1's binary repository:

https://o.rths.cf/palemoon/?sort=date&order=desc

Index of /palemoon/

Welcome to New Moon (a.k.a. Pale Moon fork targetting XP) binary directory.
These projects have no affiliation with any upstream community code sources or organizations. Please direct all support or related questions to disscussion thread in msfn.org.

So, my recommendation would be:

app.support.baseURL;https://msfn.org/board/topic/177125-my-build-of-new-moon-temp-name-aka-pale-moon-fork-targetting-xp/

WRT http://www.palemoon.org/support/slowstartup.shtml , this is just an adaptation from the corresponding Firefox guide:

https://support.mozilla.org/en-US/kb/firefox-takes-long-time-start-up

Admittedly, the PM page is better tailored to New Moon users, but, again, that page is copyrighted to MCP and has references to official app name, logo and support forum, so... :}

Perhaps @dencorso can somehow transplant the following text: 

Quote

Slow startup detected

It seems that New Moon is taking much longer than normal to start.
 

What happened?

New Moon, as part of normal monitoring of its process, has detected that starting the browser is taking much longer than it should. This can have multiple reasons:

Your computer is very busy due to other running programs, slowing the start of Pale Moon.

Your computer is low on memory.

There is a problem with your session store (saved windows and tabs from last time) causing a large delay.

There is a problem with one or more extensions, delaying the startup of the browser.

What can I do to fix this?

If you run into this regularly, you should examine what the cause is using the above points.
If your computer is low on memory, considering adding more memory or closing resident programs.
If there is a delay because you are using a very large number of tabs, consider using bookmarks instead.
Examine your extensions and check for any incompatibilities.

You can also try to give New Moon a fresh start with your data by performing a profile reset. To do this, go to Help -> troubleshooting information... and use the "Reset" button top-right, if present. In some situations this button may nor be present, in which case you should create a fresh profile; for more assistance with that, please visit our dedicated MSFN thread.

as second post to this very thread, then the URI to that post could be used as value of pref browser.slowstartup.help.url  ;)

( I am against this myself, but one can supposedly disable a "slow start-up" page from appearing by toggling pref:

browser.slowStartup.notificationDisabled; this will disable the notification and the access to the support page ).

Edited by VistaLover

Share this post


Link to post
Share on other sites
1 hour ago, VistaLover said:

And why would you not link to this very MSFN thread?

Well, I just put in a change to point "Submit Feedback" here (in both Serpent and New Moon).

I could point "<browser> Help" to the same place, but in Serpent there's a problem:

On 6/3/2019 at 10:17 AM, Mathwiz said:

Oops: Discovered a minor wrinkle with changing app.support.BaseURL: Help / Keyboard Shortcuts no longer works :( So it might be best to just revert to Mozilla for that pref. 

Serpent already points to Mozilla, so no change is needed there.

New Moon doesn't have the "Keyboard Shortcuts" option, so we can change it. But I don't want to point two Help menu options to the same place.

So how about this: I'll point "New Moon Help" to the first post of this thread, where @roytam1's FAQ is. I pointed "Submit Feedback" to the first new post (of course you have to be signed into MSFN for that to work), so the user can contribute to the discussion.

Share this post


Link to post
Share on other sites
2 hours ago, VistaLover said:

To keep things simple for now, let's just redirect browser.slowstartup.help.url to the above Mozilla page. Unlike Matt et al., Mozilla won't mind: Basilisk / Serpent already point to Mozilla pages for several purposes.

Longer term, we can use this thread to host additional New Moon / Serpent support pages, including the one above. But the short-term goal is just to avoid inadvertently directing New Moon users to palemoon.org where they might expect support.

Share this post


Link to post
Share on other sites
43 minutes ago, Mathwiz said:

I could point "<browser> Help" to the same place, but in Serpent there's a problem:

On 6/3/2019 at 6:17 PM, Mathwiz said:

Oops: Discovered a minor wrinkle with changing app.support.BaseURL: Help / Keyboard Shortcuts no longer works :( So it might be best to just revert to Mozilla for that pref. 

This is a tough one to solve :(; selecting in Serpent 52.9.0 "Help => Keyboard Shortcuts" is, code-wise, contained in:

https://github.com/roytam1/UXP/blob/master/application/basilisk/base/content/baseMenuOverlay.xul#L55-L56

        <menuitem id="menu_keyboardShortcuts"
                  oncommand="openHelpLink('keyboard-shortcuts')"

The code to execute the command is contained within:

https://github.com/roytam1/UXP/blob/master/application/basilisk/base/content/utilityOverlay.js#L818-L823

function getHelpLinkURL(aHelpTopic) {
  var url = Components.classes["@mozilla.org/toolkit/URLFormatterService;1"]
                      .getService(Components.interfaces.nsIURLFormatter)
                      .formatURLPref("app.support.baseURL");
  return url + aHelpTopic;
}

The default value for app.support.baseURL is

https://support.mozilla.org/1/firefox/%VERSION%/%OS%/%LOCALE%/

so the URL returned is

https://support.mozilla.org/1/firefox/52.9.0/WINNT/en-US/keyboard-shortcuts

which then auto-redirects to

https://support.mozilla.org/en-US/kb/keyboard-shortcuts-perform-firefox-tasks-quickly?redirectlocale=en-US&as=u&redirectslug=Keyboard+shortcuts&utm_source=inproduct

... As for the browser.slowstartup.help.url, I merely proposed what appeared to me as a simple (but functional) enough solution, provided @dencorso obliges ;); but, since this is basically your PR and your call, you are free to proceed as you see fit... :)

  • Like 1

Share this post


Link to post
Share on other sites
On 6/5/2019 at 2:26 AM, Reino said:

It's really nice that with LAV Filters and FFmpeg it's still possible to watch videos in New Moon, but I assumed most New Moon users here have a really old cpu which makes it nearly impossible to get a smooth video playback to begin with.
I stopped investigating years ago, as with my AMD Athlon XP 3200+ it's simply not possible to watch videos in-browser. Whenever I can I try to get my hands on the direct video-url and open it with MPC-HC instead so my gpu can do the decoding (dxva)!

Youtube-dl works for this url and so you could simply do:


FOR /F "delims=" %A IN ('youtube-dl.exe -gf dash_hd_src "https://www.facebook.com/arcturosgr/videos/2355323964725837/UzpfSTU2MzI1NjMwNjoxMDE1NTgyNzQ4OTUzNjMwNw/"') DO @mpc-hc.exe %A

I also wanted to see if I could extract the video-urls myself with my favorite scraper, and it appears I can :):


xidel.exe -s --user-agent="Mozilla/5.0 Firefox/67.0" "https://www.facebook.com/arcturosgr/videos/2355323964725837/UzpfSTU2MzI1NjMwNjoxMDE1NTgyNzQ4OTUzNjMwNw/" --xquery "let $a:=json(replace((//script/extract(.,'\((\{bootloadable.+?)\);',1)[.])[1],'\\\x','\\\u00'))/(.//videoData)() return {'name'://span[@class='_6w6o'],'date':extract($raw,'data-utime=\"(.+?)\"',1) * duration('PT1S') + date('1970-01-01'),'duration':format-time(duration($a/parse-xml(dash_manifest)//@mediaPresentationDuration),'[H01]:[m01]:[s01].[f001]'),'formats':[{'format':'pg-sd','container':'mp4[h264+aac]','url':$a/sd_src},{'format':'pg-hd','container':'mp4[h264+aac]','url':$a/hd_src},for $x at $i in $a/parse-xml(dash_manifest)//Representation order by $x/boolean(@width),$x/@bandwidth count $i return {'format':'dash-'||$i,'container':concat(substring-after($x/../@mimeType,'/'),'[',extract($x/@codecs,'(^[\w]+)',1) ! (if (.='mp4a') then 'aac' else if (.='avc1') then 'h264' else .),']'),'resolution':$x/@width ! concat(.,'x',$x/@height),'samplerate':$x/@audioSamplingRate ! concat(. div 1000,'kHz'),'bitrate':round($x/@bandwidth div 1000)||'kbps','url':$x/BaseUrl}]}"
{
  "name": "Ο Μπράντλεϊ και ο Κούπερ πίνουν το πρωινό τους γάλα σε χρόνο ρεκόρ!",
  "date": "2019-05-28",
  "duration": "00:00:21.430",
  "formats": [
    {
      "format": "pg-sd",
      "container": "mp4[h264+aac]",
      "url": "https://video.fams1-1.fna.fbcdn.net/v/t42.9040-2/61843568_373590383500381_78334383798353920_n.mp4?_nc_cat=110&efg=eyJybHIiOjMyNCwicmxhIjo1MTIsInZlbmNvZGVfdGFnIjoic3ZlX3NkIn0%3D&rl=324&vabr=180&_nc_ht=video.fams1-1.fna&oh=2db0888690b363f77cd2347d0a1b2ddc&oe=5CF72C9D"
    },
    {
      "format": "pg-hd",
      "container": "mp4[h264+aac]",
      "url": "https://scontent.fams1-1.fna.fbcdn.net/v/t39.24130-6/61896969_1057774241083394_2143298778333200645_n.mp4?_nc_cat=107&efg=eyJ2ZW5jb2RlX3RhZyI6Im9lcF9oZCJ9&_nc_ht=scontent.fams1-1.fna&oh=af11dc0bdaa1e1c3677ec995c683ef63&oe=5D8CE345"
    },
    {
      "format": "dash-1",
      "container": "[aac]",
      "resolution": null,
      "samplerate": "44.1kHz",
      "bitrate": "49kbps",
      "url": "https://video.fams1-2.fna.fbcdn.net/v/t42.1790-2/61730896_653046878453207_4586614327225614336_n.mp4?_nc_cat=100&efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfdjRhdWRpb2ZvcnNvdXJjZXBpcGVsaW5lXzEyOF9jcmZfMjNfbWFpbl8zLjBfZnJhZ18yX2F1ZGlvIn0%3D&_nc_ht=video.fams1-2.fna&oh=5432806f4c33af32edc22bf2c4795329&oe=5CF723DB"
    },
    {
      "format": "dash-2",
      "container": "[h264]",
      "resolution": "144x256",
      "samplerate": null,
      "bitrate": "94kbps",
      "url": "https://scontent.fams1-1.fna.fbcdn.net/v/t39.25447-6/61730728_299189114366438_1302159605964110084_n.mp4?_nc_cat=107&efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfb2VwX2xxMl9mcmFnXzJfdmlkZW8ifQ%3D%3D&_nc_ht=scontent.fams1-1.fna&oh=2565a3b437594c6fd2a7e7e651aa4ea7&oe=5D9CD5BA"
    },
    {
      "format": "dash-3",
      "container": "[h264]",
      "resolution": "240x426",
      "samplerate": null,
      "bitrate": "226kbps",
      "url": "https://scontent.fams1-2.fna.fbcdn.net/v/t39.25447-6/61739980_450267335732795_2637262664050798254_n.mp4?_nc_cat=102&efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfb2VwX2xxMV9mcmFnXzJfdmlkZW8ifQ%3D%3D&_nc_ht=scontent.fams1-2.fna&oh=fa642dce8efabd37bb0f0301b3b31bea&oe=5D517AB3"
    },
    {
      "format": "dash-4",
      "container": "[h264]",
      "resolution": "360x640",
      "samplerate": null,
      "bitrate": "457kbps",
      "url": "https://scontent.fams1-1.fna.fbcdn.net/v/t39.25447-6/61957295_2167711626615482_3010584285180055097_n.mp4?_nc_cat=110&efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfb2VwX2hxMV9mcmFnXzJfdmlkZW8ifQ%3D%3D&_nc_ht=scontent.fams1-1.fna&oh=db5624b4ce1ad59185330b7829bfe667&oe=5D897F64"
    },
    {
      "format": "dash-5",
      "container": "[h264]",
      "resolution": "480x852",
      "samplerate": null,
      "bitrate": "736kbps",
      "url": "https://scontent.fams1-2.fna.fbcdn.net/v/t39.25447-6/61777483_2414353792131319_5709933467491253734_n.mp4?_nc_cat=102&efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfb2VwX2hxNF9mcmFnXzJfdmlkZW8ifQ%3D%3D&_nc_ht=scontent.fams1-2.fna&oh=0137dbb04f320370fe13bfa645073c3c&oe=5D8B7C5B"
    },
    {
      "format": "dash-6",
      "container": "[h264]",
      "resolution": "720x1280",
      "samplerate": null,
      "bitrate": "1484kbps",
      "url": "https://scontent.fams1-1.fna.fbcdn.net/v/t39.25447-6/61788732_1213415742166317_6377004606775886417_n.mp4?_nc_cat=107&efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfb2VwX2hxMl9mcmFnXzJfdmlkZW8ifQ%3D%3D&_nc_ht=scontent.fams1-1.fna&oh=9f8619407dea9ca6caf04b96ffa1d3e3&oe=5D95591A"
    },
    {
      "format": "dash-7",
      "container": "[h264]",
      "resolution": "1080x1920",
      "samplerate": null,
      "bitrate": "3146kbps",
      "url": "https://scontent.fams1-1.fna.fbcdn.net/v/t39.25447-6/61801829_107103767207074_4181022582485783456_n.mp4?_nc_cat=107&efg=eyJ2ZW5jb2RlX3RhZyI6ImRhc2hfb2VwX2hxNV9mcmFnXzJfdmlkZW8ifQ%3D%3D&_nc_ht=scontent.fams1-1.fna&oh=d0c7ea5b7a870149b55a1bb0f674872d&oe=5D9E1271"
    }
  ]
}

 

found these workarounds for downloading videos: on my SSE-PC.

https://www.downfk.com/ (onlineFACEBOOKvideodownloader)
https://www.downfk.com/private-downloader.php chrome addon

https://www.onlinevideoconverter.com/youtube-converter (on some forum login enables download)
https://addons.palemoon.org/addon/html5-video-tuner/
an actual drive i have ant video downloader 2.4.7.47 but something ffmpeg-related not working.
if still no working try maxthon 3-has buzilt-in downloader, rightclick above video.
I cannot run Videos in FB.
Tip: You can check https://www.youtube.com/html5 to see what your browser supports.
Check my Newmoon Sticky (not complete)
Have e.g. new hints related to Firefox Nightly. not yet implement in that Sticky- go back in the forum.

Share this post


Link to post
Share on other sites
Posted (edited)

actually that means I need to setup a redirector in my binary repo in order to keep app.support.* URLs working.

EDIT: it seems that I can just create a blog static page for this purpose by setting app.support.baseURL as "https://rtfreesoft.blogspot.com/p/browser-help.html#"?

Edited by roytam1
  • Like 1
  • Upvote 1

Share this post


Link to post
Share on other sites
On 6/1/2019 at 7:06 AM, i430VX said:

As usual, my browser installer will now install the latest builds... the new version with firefox45 and UOC patch support IS coming soon, I promise. I've just been a bit busy lately.

Is it working for NM SSE? if yes how to setup the file? same directory like PM? until now it didnt work in my SSE-PC.
I couldbt install PM until now.
SSE-PC

Share this post


Link to post
Share on other sites
22 minutes ago, VistaLover said:

As for the browser.slowstartup.help.url, I merely proposed what appeared to me as a simple (but functional) enough solution, provided @dencorso obliges ;)

Yes. This way I can get it changed right away, but it's not set in stone; as soon as there's a URL to link to, I can change palemoon.js again.

I've been using direct URLs so no changes to @roytam1's web site will be required.

Share this post


Link to post
Share on other sites
Posted (edited)

@Mathwiz -- @VistaLover <--

About the URL to this RT FORUM Thread HERE on MSFN.org situation.
My GUESS is that a MSFN.org MODERATOR could RENAME a given THREAD, say RT's HERE.
Which, doing that RENAMING would CHANGE the URL for RT's THREAD HERE (obviously).
It MIGHT be that RT would want to 'clean up' the naming of this RT THREAD HERE (future).
It MIGHT have to do with actually say OFFICIALLY NAMING the NEW MOON Browser.
So, one MIGHT want to consider this NOW, since you are doing these 'PULLS' and what all,
related to changing the HELP URLs for RT's Browsers.
WHATEVER you choose to do, is FINE with me, about this MSFN.org 'RT THREAD URL' issue.
It just seemed like something to mention it, as worthy of brief consideration.

Edited by TechnoRelic

Share this post


Link to post
Share on other sites
Posted (edited)
1 hour ago, TechnoRelic said:

My GUESS is that a MSFN.org MODERATOR could RENAME a given THREAD, say RT's HERE.
Which, doing that RENAMING would CHANGE the URL for RT's THREAD HERE (obviously).

That's a good point. It would therefore be best not to have the browser point directly to specific pages at msfn.org, since the URLs could change. They could point to msfn.org indirectly, though, via a redirect.

19 hours ago, roytam1 said:

I can just create a blog static page for this purpose by setting app.support.baseURL as "https://rtfreesoft.blogspot.com/p/browser-help.html#"

Yes, for New Moon that will work fine. Edit: In fact I see it's already up (although the page is blank for now). I'll make that change tonight.

For Serpent, you would need two related pages: https://<something>/ and https://<something>/keyboard-shortcuts. Each of those two pages can bring up either a static page or a redirect. The first page will come up if the user goes to Help / <browser> Help. The second page will come up if they go to Help / Keyboard Shortcuts.

Mozilla's pages are already arranged that way, so I just left the app.support.baseURL pref in Serpent pointing to Mozilla's site for now.

Edited by Mathwiz
  • Like 1

Share this post


Link to post
Share on other sites
Posted (edited)

@TechnoRelic

I have already made my position very clear in the matter at hand, in previous posts of this thread: I feel totally indifferent to the whole re-branding issue, in fact I am quite alright with how things were/are now; @roytam1 is NOT compiling builds with the official branding, this is crystal clear; the whole re-branding argument has been always pushed by MCP and/or Matt A. Tobin; I am not confused in any way as to what I am using on my Vista laptop currently ;); I might sound harsh, but Roy is NOT to blame whenever some NM/Serpent user knocks on MCP's door; the fault lies, IMHO, solely on those users, who can't tell their right hand from their left one  :angry: (and, as said already, full rebranding won't relieve MCP of random NM users and/or make them think about us - maintainer+users - in another way; for them, we'll always remain XP+Vista freaks :angry:) ...

The recent PRs by @Mathwiz were submitted after you have, apparently, taken sides with MCP/M.A.T in your recent post ;); you have yourself appointed only myself and Mathwiz as the users who should be consulted about your "re-branding" expectations, 

On 6/1/2019 at 8:01 PM, TechnoRelic said:

So, here, I only care for feedback from RT, VistaLover, and Mathwhiz, on this suggestion.
WHATEVER they might think, decide, and RT does it (including ignore me), is FINE with me.

but this leaves out numerous other NM/St users who might not be as vocal in the forums here, but their own opinion should also carry weight...

Mathwiz created his PRs as an interim and "easy" solution, with the hopeful aim of deterring additional NM users from seeking support at MCP's HQs; twice you said "is FINE with me", but it now becomes apparent, even after the PRs have been created,  that you won't feel satisfied unless a full rebranding takes place:

1 hour ago, TechnoRelic said:

It MIGHT have to do with actually say OFFICIALLY NAMING the NEW MOON Browser.
So, one MIGHT want to consider this NOW, since you are doing these 'PULLS' and what all,

in other words, in your own subtle way, you are coercing @roytam1 to proceed into full re-branding, echoing MCP/M.A.T 's agenda... Roy shouldn't be forced to make any additional efforts, he's working wonders as it is, regularly providing browser builds for a plethora of older OSes/platforms...

And this is my final say on this... -_-

Edited by VistaLover
  • Like 2

Share this post


Link to post
Share on other sites

I will never understand what motivates people to try to appease other people who are disagreeable, arrogant, condescending, and clearly would never reciprocate such efforts. As VistaLover said, full rebranding would not change a single thing about how "upstream" views this project or its users, and those who are now pushing rebranding again are only echoing MCP and Tobin's agendas. Apparently Tobin doesn't even need to come back here again to keep the subject alive. Why would anyone here spend the first second attempting to do anything they "demand?" :rolleyes: :no:

  • Like 2

Share this post


Link to post
Share on other sites

It hurts a bit that some usually very great people here have such extremely onesided black&white views, and don't even consider for a second that things might possibly have other angles too. In this case there's just clearly an elephant in the living room (or rather a duck, it looks like a duck, it walks like it, it has 'duck' written all over it, etc). But it won't go away just by insisting it wouldn't exist. And neither by calling everyone who sees it a moron. And even consider them super morons just because the first person who complained about the elephant-duck was a horrible person, and insist yet harder that there's absolutely NO elephant in the living room. And if people continue to mention it, to accuse them of blind obedience to that horrible guy. But the elephant is there, and as long as problems are denied they will only grow worse.

  • Like 2

Share this post


Link to post
Share on other sites

I agree that someone from MCP coming onto this thread and striking a disagreeable attitude, making threats, and generally being unpleasant, doesn't exactly predispose folks here to try to accommodate their wishes. And it's also true that to the extent there are "branding" issues with unofficial builds, they are the fault of MCP themselves, not @roytam1.

So I can sort of understand having a spiteful attitude toward MCP and their demands. But I think we already decided we weren't undertaking a full rebranding of New Moon or Serpent anyhow. At this point, all we're talking about is getting rid of the "you've successfully upgraded" Web page and redirecting a few Web pages that come up when users of @roytam1's browsers use the Help menu. It's just not that big of a deal, and it's worth doing anyhow for the benefit of New Moon / Serpent users (not to mention msfn.org, which stands to gain a few more members). If it eases tensions with MCP a bit too, so much the better. (And if someone's really stubborn about it, they can switch all their prefs back in about:config anyhow.)

  • Like 4

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...