Simple YouTube Age Restriction Bypass

Schaue YouTube Videos mit Altersbeschränkungen ohne Anmeldung und ohne dein Alter zu bestätigen 😎

< Rückmeldungen aufSimple YouTube Age Restriction Bypass

Rezension: Fehler - Skript funktioniert nicht

§
Veröffentlicht: 08.08.2024
Bearbeitet: 08.08.2024

Use this code to bypass "TrustedHTML"

// TrustedHTML issue
function createElement(tagName, options) {
  const node = document.createElement(tagName);

  if (options) {
      // Assign properties to the node
      Object.keys(options).forEach(key => {
          if (key === 'innerHTML') {
              // If innerHTML is provided, create a text node instead
              const textNode = document.createTextNode(options[key]);
              node.appendChild(textNode);
          } else {
              node[key] = options[key];
          }
      });
  }

  return node;
}

from

function createElement(tagName, options) {
    const node = document.createElement(tagName);
    options && Object.assign(node, options);
    return node;
}
§
Veröffentlicht: 09.08.2024

Thanks man!

§
Veröffentlicht: 09.08.2024

You're a chad

§
Veröffentlicht: 10.08.2024

Great !
Thanks

And of course, thanks to zerodytrash for this script.

§
Veröffentlicht: 10.08.2024

where exactly do I have to insert this, because I have no idea about programming, and just want to watch videos on YouTube undisturbed. Yesterday this extension still worked

§
Veröffentlicht: 11.08.2024

I suggest that you duplicate the userscript before editing it. So that the original script can still update automatically (depending on the settings of your userscript manager).

Anyway, duplicating is not necessary.

Here is how to modify:

Open the userscript in your scripts manager.
In the "Editor" tab (named like that in Tampermonkey), search for "function createElement". The code will scroll to the source of the function. You will see the code that is displayed above under "from".
You replace that code (5 lines, including the closing } ) with the new code that is display here above the old code. (everything between // TrustedHTML issue and } )

Once you have done that, save the script in the scripts manager. There is a command in a menu of the manager, or a button. CTRL+S should also work (at least in tampermonkey).

§
Veröffentlicht: 11.08.2024

Thank you very much it works X3

§
Veröffentlicht: 14.08.2024

I think I did it right, though I might be stupid. Anyway it's not working for me. Is this fix still working for others?

§
Veröffentlicht: 14.08.2024

I think I did it right, though I might be stupid. Anyway it's not working for me. Is this fix still working for others?




The developer already fixed the problem, check for update!!!

Antwort schreiben

Anmelden um eine Antwort zu senden.