TamperMonkey Tutorial | Add Custom JavaScript to
Вставка
- Опубліковано 25 сер 2024
- / @kajstanski7633
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 UA-cam 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
can you publish the source code?
Thanks man - exactly what I needed!
Glad to hear it! Let me know if you need any other topic covered. I'm happy to make another video on it.
loved this video man, too bad you stopped posting, would watch more
This script is not working anymore
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.
`let` has a smaller definition scope than `var`. For example, run this:
console.log(abc); { var abc = 123 }; console.log(abc)
`abc` will print, even though it was defined in a scope that was closed! This applies only in the context of a function, though.
This weird behavior was why let was created - look more into it
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.
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.
very nice, thanks bruh!
does this script still work for you? could you share?
awesome , ty
How we can contact you? Pls need help
Brother i want to talk to you 1v1 how can. I talk ?
Record how to add Tampermonkey Filmot title Restorer script from Restore and Movie and Channel and Playlist
Nice:)
I wish you keep making userscript videos. and tutorials , and explaine alot more if you can.
instead of the hack... you could have just converted the string to a json object.
Very good point! Parsing the json makes the code cleaner, but in this case it makes it terribly slow too.
thank you for sharing the information 🙂🙂how can i create a website script on site ; tls contact fr ??
Can you share more background?
Thank you. This is very useful. Is there a way I can support you?
Is there a method I could contact you. Would be willing to compensate, looking for some help on a project. TY!!
Hey, I'm quite short on time lately, but perhaps I can give you some pointers. You can email me, the email address is in the about section on my channel.
Blud i need hacks
lol :/
who makes tutorials with distracting talking head? how does this add value to tutorial where focus is of essence??
Like most people on youtube do?
how does your comment actually add value to this section by talking such nonsense and trivial aspect instead of focusing in the code?