Jump to content

My Browser Builds (Part 1)


Recommended Posts

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.

Link to comment
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

Link to comment
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.

Link to comment
Share on other sites

@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
Link to comment
Share on other sites

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
Link to comment
Share on other sites

@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
Link to comment
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:

Link to comment
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.

Link to comment
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.)

Link to comment
Share on other sites

@Mathwiz -- @VistaLover <--

https://msfn.org/board/topic/177125-my-build-of-new-moon-temp-name-aka-pale-moon-fork-targetting-xp/?do=findComment&comment=1165197

The above URL from me still summarizes my views accurately.

As to doing it, and 'how much' -- I defer to you both on that aspect.
To aim the HELP URLs at RT websites seems reasonable to me.
However much that happens, I will be good with it.

With my last message here, just noting that MSFN.org based URLs could change.
As to what to do about that, I defer to say 'Mathwiz' on that.

So, if NOTHING changes, I will still be okay with RT Browsers.
But currently, I am just looking for the HELP URLs to aim at RT websites.
And removing that 'Installed Page' message that refers and aims at PALE MOON, seems a good idea.

Which, that seems to be what 'Mathwiz' wants to do it too (per last message).

(For amusement) NOT feeling it here, some special need to CRY HAVOC, and Let Slip
The DOGS of RE-BRANDING CONTROVERSY (War). :)

Added Later: I think what 'Mathwiz' said in his last message (above), is winning logic.

Added Still Later: 'Mathwiz' has FIXED most of the HELP URLs related to RT's Browsers.
And 'Mathwiz' has opened a GITHUB website to help with the overall RT Browser situation:
https://msfn.org/board/topic/177125-my-build-of-new-moon-temp-name-aka-pale-moon-fork-targetting-xp/?do=findComment&comment=1167289

Conclusion: There are likely to always be a couple of HELP URLs related to RT's Browsers
that might point to a 'wrong' URL somehow. 'Mathwiz' has done what is reasonable to remedy
the overall situation. The improvement is significant.

Edited by TechnoRelic
Link to comment
Share on other sites

23 hours ago, 3dreal said:

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

It's working for me...

Link to comment
Share on other sites

@Mathwiz's PRs have been now merged into @roytam1's custom UXP branch, expect to see the changes landing in tomorrow's NM28/St52 builds... ;)

On another note, the few (?) of you running Serpent 52.9.0 in forced multiprocess (e10s) mode ( @Mathwiz, still doing this? ), will soon be unable to continue this practice, considering the upstream dev has patched that loophole:

https://github.com/MoonchildProductions/UXP/issues/1130

https://github.com/MoonchildProductions/UXP/commit/19c0f5e

:(

Edited by VistaLover
Link to comment
Share on other sites

11 minutes ago, VistaLover said:

On another note, the few (?) of you running Serpent 52.9.0 in forced multiprocess (e10s) mode ( @Mathwiz, still doing this? ), you'll soon be unable to continue this practice, considering the upstream dev has patched that loophole:

https://github.com/MoonchildProductions/UXP/issues/1130

https://github.com/MoonchildProductions/UXP/commit/19c0f5e

thanks for noticing, this rev won't get in my repo.

Link to comment
Share on other sites

3 hours ago, roytam1 said:

this rev won't get in my repo.

... I understand this was a change implemented on a platform level, so I'm not sure as to if/how what I suggest below is feasible, but what would be best, IMHO, is to implement the upstream change ONLY to New Moon (application/palemoon) and NOT implement it on Serpent (application/basilisk); removing the "force-enable e10s" feature on NM should be favourable, because force-enabling e10s on PM/NM, even for testing purposes, will produce a totally broken/unresponsive browser (as the internal e10s supporting code is non-existent in PM/NM); just my 2 eurocents, of course :P

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...