Hydra and Youtube

Have a project that you want to share, but it's not big enough to warrant an entire category? This is the place.
User avatar
xperceniol_sal
Posts: 339
Joined: 03 Jan 2023, 19:32
Location: North East USA
OS: XP_86
Has thanked: 203 times
Been thanked: 102 times
United States of America

Hydra and Youtube

Unread post by xperceniol_sal »

Image
"I wish I could tell you it gets better. It doesn't get better. YOU get better." -Joan Rivers

User avatar
Duke
Full Moderator
Posts: 280
Joined: 16 Mar 2024, 13:32
OS: Windows 8.1 x64
Has thanked: 57 times
Been thanked: 92 times

Hydra and Youtube

Unread post by Duke »

xperceniol_sal wrote: 04 May 2025, 22:27 Hydra
Try that: in about:config create a new string key named: general.useragent.override.youtube.com
Give it this value: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:138.0) Gecko/20100101 Firefox/138.0

User avatar
xperceniol_sal
Posts: 339
Joined: 03 Jan 2023, 19:32
Location: North East USA
OS: XP_86
Has thanked: 203 times
Been thanked: 102 times
United States of America

Hydra and Youtube

Unread post by xperceniol_sal »

YAY ... that did the trick.

Thank you very much, Duke.
"I wish I could tell you it gets better. It doesn't get better. YOU get better." -Joan Rivers

UCyborg
Posts: 42
Joined: 19 Nov 2024, 19:14
OS: Windows 10 x64
Has thanked: 17 times
Been thanked: 14 times
Slovenia

Hydra and Youtube

Unread post by UCyborg »

I only mess with uBlock ocassionally, it's a difficult project all around.

For YouTube, I still have only this in about:config:

general.useragent.override.youtube.com - Mozilla/5.0 (%OS_SLICE% rv:102.0) Gecko/20100101 Firefox/102.0

Also, this isn't talked about much, but there is a magic user script for YouTube replacing GUI with the classic one. Supposedly well functional even when it comes to logged in restricted functionality. Need GreaseMonkey for Pale Moon, just add the code as the new script:

Code: Select all

// ==UserScript==
// @name         Project VORAPIS TURBOLAUNCHER
// @namespace    //www.github.com/VORAPIS
// @version      2.0.9.9
// @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;
        });
    };
    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();

}();
It fetches the actual script, this launcher script happens to be best suited for UXP and the quirky user script manager we have. Otherwise, it's available on https://vorapis.pages.dev/. Even with uBlock disabled, ads are avoidable, they are disableable through the settings, "AD_ITEM" checkboxes. Some of uBlock's scripts for content filtering can interfere with this frontend.

User avatar
xperceniol_sal
Posts: 339
Joined: 03 Jan 2023, 19:32
Location: North East USA
OS: XP_86
Has thanked: 203 times
Been thanked: 102 times
United States of America

Hydra and Youtube

Unread post by xperceniol_sal »

Thank you, K4sum1 for Hydra - I like it too.
"I wish I could tell you it gets better. It doesn't get better. YOU get better." -Joan Rivers

User avatar
xperceniol_sal
Posts: 339
Joined: 03 Jan 2023, 19:32
Location: North East USA
OS: XP_86
Has thanked: 203 times
Been thanked: 102 times
United States of America

Hydra and Youtube

Unread post by xperceniol_sal »

Just another question regarding hydra - the current UA, is:

Mozilla/5.0 (Windows NT 5.1; rv:115.0) Gecko/20100101 Goanna/6.7 Firefox/115.0 Hydra/52.9.2025.04.28

Is that right?
"I wish I could tell you it gets better. It doesn't get better. YOU get better." -Joan Rivers

User avatar
Duke
Full Moderator
Posts: 280
Joined: 16 Mar 2024, 13:32
OS: Windows 8.1 x64
Has thanked: 57 times
Been thanked: 92 times

Hydra and Youtube

Unread post by Duke »

Site for checking the general overall user agent of a browser:
https://www.useragentstring.com

User avatar
K4sum1
Lazy Owner
Posts: 1162
Joined: 11 Jan 2021, 07:40
Location: ur dads house
OS: Windows 8.1 x64
Has thanked: 807 times
Been thanked: 427 times
Contact:
United States of America

Hydra and Youtube

Unread post by K4sum1 »

xperceniol_sal wrote: 05 May 2025, 18:54 Just another question regarding hydra - the current UA, is:

Mozilla/5.0 (Windows NT 5.1; rv:115.0) Gecko/20100101 Goanna/6.7 Firefox/115.0 Hydra/52.9.2025.04.28

Is that right?
Sounds right, it fakes newer Firefox for web compatibility reasons.
I don't know what I'm doing hit album by Brad Sucks

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests