TamperMonkey Tutorial | Add Custom JavaScript to YouTube.com

preview_player
Показать описание

How to change a website with your own code? A beginners lesson about practical Greasemonkey scripts.

In this tutorial, I will show you how to inspect the YouTube source code to alter it with JavaScript code injected using a Tampermonkey app / plugin / add-on. This method works on both Firefox and Chrome. You can learn from it as a follow along tutorial to then implement your own scripts altering the webpages of your choice. Such Tampermonkey scripts are useful for displaying additional data / information or for autocompletion of forms to speed up your workflows.
Рекомендации по теме
Комментарии
Автор

Your explaination is very good & clear
nice script experiment

heyiamuday
Автор

loved this video man, too bad you stopped posting, would watch more

mr_mackey_mvoyez
Автор

Hello, I need to customize a script that works with the TamperMonkey plugin. The script has the function of clicking on a calendar and going directly to the end of the month.

jvkqxdr
Автор

does this script still work for you? could you share?

KrevetkaOo
Автор

Hi anyway to auto comment on youtube live video, so far I have made the input and automated to click the submit button, but the comment is not being posted.

Immortal-pugr
Автор

Just what I was looking for. But a small suggestion: maybe you should try to replace all `var` with `let`. For example, I think in the `run` function, if you just use `var`, console may tell you that `videos` is not defined.

rossli
Автор

Record how to add Tampermonkey Filmot title Restorer script from Restore and Movie and Channel and Playlist

dominikgameplaytv
Автор

instead of the hack... you could have just converted the string to a json object.

tonypetruzzi
Автор

Thank you. This is very useful. Is there a way I can support you?

mohammedalhamadi
Автор

Is there a method I could contact you. Would be willing to compensate, looking for some help on a project. TY!!

mckboard
Автор

thank you for sharing the information 🙂🙂how can i create a website script on site ; tls contact fr ??

gvxuhup
Автор

Brother i want to talk to you 1v1 how can. I talk ?

Mastertradebro
Автор

I wish you keep making userscript videos. and tutorials, and explaine alot more if you can.

siouaneislem
Автор

who makes tutorials with distracting talking head? how does this add value to tutorial where focus is of essence??

TheBaltLT