Jump to content

Recommended Posts

Posted (edited)

I am perfectly aware that MSFN is "only" for XP and Vista users, but it is still "fair game" to compare these UXP "improvements" to what we Win10 users see with "better browsers".

The above CPU and RAM is Serpent 52 on the same EXACT computer as the below "non-UXP".

Pretty much any-and-all YouTube content plays for me at UNDER ONE PERCENT CPU WITHOUT HARDWARE ACCELERATION and plays as a background tab my entire work day.

image.png.278939ba8b3aa507476f621950e5c4b2.png

Edited by NotHereToPlayGames

Posted (edited)

Though I am also not "too proud" to admit that this recent comparison has revealed something.  While UXP takes MUCH higher CPU to stream some background music, the video quality is MUCH better in UXP (and I have to assume non-UXP Mozilla).

I could *probably* jump through the correct hoops to get the same video quality in Chomium-based.  But I really have NO USE for watching videos on YouTube in ANY browser.  I do have a use for BACKGROUND NOISE and for that, I don't need to kill my CPU.

Edited by NotHereToPlayGames
Posted

Huh, so some videos still crap out after 40 seconds. It has something to do with the script being loaded directly via Greasemonkey for Pale Moon. Loading through that extension posted on Discord supposedly works, but I haven't tried THAT video in particular, so who knows if it really works... So my previous conclusion that those fetch amendments that aren't even directly related to the 40 second player crapout problem somehow solved it is incorrect.

So yeah, I'm not a programmer and all these hassles aren't worth it for me. I can live with the slower interface and have the option to use another browser or another program entirely if I want. My old PC is new enough for this and even if I had another very old computer, it probably wouldn't be connected to the internet in the first place and such tasks would be delegated to a different machine anyway.

Posted (edited)
14 hours ago, UCyborg said:

You can save yourself the trouble and wasted time and download the patched VORAPIS V3 user script from my drive

For using this modified script, the @updateURL should be removed as the modification will be overwritten again with the next script update. I use the original script to receive regular updates and to see how the script develops. And all videos I tried to play worked without any problems in New Moon 28. No crashes and no resets after a few seconds as it was before. :no: In any case, YouTube videos are working fine again in UXP browsers and especially in New Moon 28:thumbup

Edited by AstroSkipper
Update of content
Posted
2 hours ago, AstroSkipper said:

...YouTube videos are working fine again in UXP browsers and especially in New Moon 28:thumbup

Not here - in Serpent 52.9 22-9-2024 it's not working (buffering but not garbled picture anymore), but that's alright, h264ify makes 1080p videos work flawlessly.

Posted (edited)
29 minutes ago, modnar said:

Not here - in Serpent 52.9 22-9-2024 it's not working (buffering but not garbled picture anymore), but that's alright, h264ify makes 1080p videos work flawlessly.

Due to my hardware specs, I can't run 1080p videos on my Windows XP computer, neither in browsers nor in external players. My comment refers to medium qualities up to 480p. But I also use this extension or a script version of h264ify to ensure avoiding unwanted codecs. And I disabled too demanding codecs via prefs.

Edited by AstroSkipper
correction
Posted (edited)

@roytam1
Well I don't get it, but I opened the issue in UXP repo with the list of values that throw TypeError so it's not forgotten if they get around to tackling it sometime.

@AstroSkipper
I know about updateURL, it was just for testing.

I put the VORAPIS script inside the old Palefill extension so the latter loaded it for YouTube, that seems to work well. But the question remains what's wrong with Greasemonkey.

Oh and I don't get remaining time displayed (the one counting down) on the video player in Pale Moon.

Edited by UCyborg
Posted

REF Vorapis: I kind of noticed an improvement in the loading of gif thumbnails (after removing all YT related UB static filters and monkey scripts, but nothing dramaticaly different to allowing only (in UB and Umatrix) youtube.com, www.youyube.com, gghpt.com, googlevideo.com and jnn-pa.googleapis.com (and blocking all google.com, google.com.x, doubleclick.net, and gstatic.com). While also keeping my lot of UB static filters, and two TM scripts that do not seem to do damage (Simple YouTube Age Restriction Bypass and  YouTube CPU Tamer by AnimationFrame).

I prefer that to vorapis, but that is my setup and my bias for knowing as exactly as possible what the code I run in the browser does.  Cheers!

Posted (edited)
55 minutes ago, UCyborg said:

Oh and I don't get remaining time displayed (the one counting down) on the video player in Pale Moon.

I never got the remaining time displayed on the video player. How would that normally work? :dubbio: Usually, I only get the time already elapsed and the total time. I should mention that I am never signed in to my Google Account when playing YT videos in New Moon 28.

Edit: I found a working script to retrofit the remaining time on the video player in New Moon 28: https://greasyfork.org/en/scripts/19120-youtube-remaining-time

New-Moon-28-You-Tube-Remaining-time.png

Edited by AstroSkipper
Update of content
Posted (edited)
52 minutes ago, dmiranda said:

my bias for knowing as exactly as possible what the code I run in the browser does

Same here.  I've been experimenting with that VORAPIS script and ran the "one-liner" through some online .js "cleaners".

They don't edit the script, just convert it from one MILE LONG line of code and put line breaks without breaking the .js functionality.

That "dang" thing is 4400 to 6500 lines long !!!  Depending on if you allow the closing brackets to be on its own line.

There are HUNDREDS of lines of code that are not needed if you only ever use YouTube for ONE LANGUAGE.

Be careful what you use for editing this .js because it is writting in both "left to right" and "right to left" languages.

It's been a cool "hobby project" for the day.  As is, it allows annotations and the best I can determine for any video that CRASHES when using VORAPIS is that the videos use the old style of "annotations" that I didn't even know still existed (my profile blocks them).

Edited by NotHereToPlayGames
Posted (edited)
On 9/29/2024 at 11:58 PM, AstroSkipper said:

I never got the remaining time displayed on the video player. How would that normally work? :dubbio:

Oops, in Firefox, I forgot to disable Improve YouTube! extension, that's where it came from. :D

On 9/29/2024 at 11:58 PM, AstroSkipper said:

I found a working script to retrofit the remaining time on the video player in New Moon 28: https://greasyfork.org/en/scripts/19120-youtube-remaining-time

:thumbup

@NotHereToPlayGames and others
Mind trying if this works via Greasemonkey without video player crapping out with an error after 40 seconds or resetting sooner?

// ==UserScript==
// @name         Project VORAPIS TURBOLAUNCHER
// @namespace    //www.github.com/VORAPIS
// @version      2.1.0.0
// @description  V3 is the alternative solution to a fast and responsive YouTube frontend which combines performance with beauty, bringing back Google's best web layout.
// @author       eov3cv@hotmail.com
// @include      /.*:\/\/.*\.youtube\.com\/.*/
// @include      /.*:\/\/www\.googleapis\.com\/youtube\/.*/
// @include      /.*:\/\/youtube\.clients6\.google\.com\/.*/
// @include      /.*:\/\/content-youtube\.googleapis\.com\/.*/
// @include      /.*:\/\/myactivity\.google\.com\/.*/
// @include      /.*:\/\/storage\.googleapis\.com\/.*/
// @exclude      /.*:\/\/.*\.youtube\.com\/embed\/.*/
// @exclude      /.*:\/\/studio\.youtube\.com\/.*/
// @exclude      /.*:\/\/consent\.youtube.com\/.*/
// @exclude      /.*:\/\/.*\.youtube.com\/oembed.*/
// @exclude      /.*:\/\/.*\.youtube.com\/api\/.*/
// @exclude      /.*:\/\/.*.youtube.com\/subscribe_embed.*/
// @exclude      /.*:\/\/.*\.youtube.com\/s\/.*/
// @exclude      /.*:\/\/.*\.youtube\.com\/img\/.*/
// @exclude      /.*:\/\/img\.youtube\.com\/.*/
// @icon         https://www.google.com/s2/favicons?sz=64&domain=youtube.com
// @grant        none
// @run-at       document-start
// ==/UserScript==

//Project VORAPIS (V3) License & Disclaimer
//
//Copyright (c) 2024 VORAPIS (eov3cv@hotmail.com)
//
//All rights reserved.
//
//DISCLAIMER
//
//Project VORAPIS (short. V3) is a JavaScript application developed to run as a userscript/extension on www.youtube.com, aiming to recreate the experience of using YouTube as it was in 2013-2014.
//It is important to note:
//
//1. This project is not funded, endorsed, or affiliated with Google LLC, YouTube, or any of their subsidiaries. V3 is developed independently and operates within the Terms of Service (TOS) of the utilized Google and YouTube services, including but not limited to "My Activity", "InnerTube", and "YouTube Data API v3".
//
//2. The developer(s) of V3 claim rights only to the original code that powers this library. No claim is made to any CSS, HTML, JavaScript, or other assets owned by Google, YouTube, or their subsidiaries. This includes a modified version of the 2014 Google/YouTube HTML5 player, adapted for compatibility with today's APIs. The modification efforts are acknowledged, but proprietary rights to the original player remain with Google/YouTube.
//
//LICENSE TERMS
//
//The V3 project is provided "as is" for personal, non-commercial use, free of charge, with the following conditions:
//
//- Sale or any form of commercial exploitation of V3 is strictly prohibited.
//- Users are not allowed to claim V3 or any of its parts as their own work.
//- The developer(s) of V3 offer no warranties or guarantees regarding the software's functionality, performance, or its compliance with any legal standards.
//
//LIMITATION OF LIABILITY
//
//Under no circumstances shall the developer(s) of V3 be liable for any direct, indirect, incidental, special, or consequential damages resulting from the use of or inability to use the project, including but not limited to reliance on any information obtained through the project; or any failure of performance.
//
//COPYRIGHT NOTICE
//
//Copyright (c) 2024 Project VORAPIS. All rights reserved.
//
//By downloading, accessing, or using V3, you acknowledge that you have read, understood, and agree to comply with the terms and conditions outlined in this license and disclaimer.

//page script

void function () {

    window["trusted_policy"] = window["trustedTypes"] ? (window["trustedTypes"].createPolicy("VOR_TRUSTED_USELESS_POLICY", {
        createHTML: function (a) {
            return a;
        }
    })) : {
        createHTML: function (a) {
            return a;
        }
    };
    window["PatcherJSC_TURBO_RUNNING"] = true;
    var turbo_launcher = {};
    turbo_launcher.gcc = {};
    turbo_launcher.gcc.url = "https://vorapis.pages.dev/product/v3/game_service/patcher/get_latest_client";
    turbo_launcher.gcc.update = function () {
        return fetch(turbo_launcher.gcc.url + "?t=" + (new Date()).getTime()).then(function (r) {
            return r.text();
        }).then(function (r) {
            return r;
        });
    };
    turbo_launcher.vss = {};
    turbo_launcher.vss.req = function (u) {
        return fetch(u).then(function (r) {
            return r.text();
        }).then(function (r) {
            return r.replaceAll("strict-origin-when-cross-origin", "");
        });
    };
    turbo_launcher.vss.get = function () {
        var ls = window.localStorage;
        if (!ls) {
            return console.error("LocalStorage error!");
        }
        var info = ls.getItem("VLTURBO_INFO");
        var data = ls.getItem("VLTURBO_DATA");
        var imp = false;
        if (data) {
            imp = true;
            var s = document.createElement("script");
            s.innerHTML = window["trusted_policy"].createHTML(data);
            document.documentElement.appendChild(s);
        } else {
            window.stop();
        }
        return turbo_launcher.gcc.update().then(function (cver) {
            if (info != cver) {
                return turbo_launcher.vss.req(cver).then(function (cvss) {
                    ls.setItem("VLTURBO_DATA", cvss);
                    if (!imp) {
                        window.location.reload();
                    }
                });
            }
            ls.setItem("VLTURBO_INFO", cver);
        });
    };
    turbo_launcher.main = function () {
        turbo_launcher.vss.get();
    };
    turbo_launcher.main();

}();

I added replaceAll call to patch the script and get rid of strict-origin-when-cross-origin occurrences (breaking search box autocomplete and video dislike count). The original version is 2.0.9.9 and that part of the code just does "return r;" A workaround 'till either party either fixes the browser or the script.

Probably local storage for www.youtube.com should be cleared in developer's tools under Storage tab in case the launcher was used before as the old script might still be in there.

Edit: Sorry, edited million times, should be OK now.

Edited by UCyborg
Sync includes/excludes with launcher extension behavior
Posted (edited)
10 minutes ago, NotHereToPlayGames said:

They don't edit the script, just convert it from one MILE LONG line of code and put line breaks without breaking the .js functionality.

Yup.

Edited by dmiranda
Posted
7 hours ago, UCyborg said:

@NotHereToPlayGames and others
Mind trying if this works via Greasemonkey without video player crapping out with an error after 40 seconds or resetting sooner?

Working perfectly!

I erased yesterday's VORAPIS profile with the MILE LONG script as a FAILURE.  Yes, it "works", for the most part, but not really interested in adding 4400 to 6500 lines of javascript code!

Started all over this morning with just GreaseMonkey and this much simpler Turbo Launcher.

Liking it so far and no crashes at 30 to 40 seconds (and the annotation is blocked where it is not with the MILE LONG version).

I'm a bit confused (until I have more time to dig deeper).  It appears that this very simple Turbo Launcher does the same EXACT thing as the MILE LONG VORAPIS SCRIPT.

Why would ANYONE use the MILE LONG version if this does the same exact thing?

 

Posted

And I shouldn't "tempt fate", but it appears that Turbo Launcher also means I no longer need ad-blockers on YouTube.  The real test will be at work.  Which will also be the test for "are you still here" auto-pause.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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