banner



How To Use Tampermonkey Scripts

How to Inject Scripts to Websites Using TamperMonkey

TamperMonkey is an extension on Google Chrome (and some other browsers like Opera, yous can use GreaseMonkey equally an alternative on Firefox ).

TamperMonkey

TamperMonkey allows you to inject boosted JavaScript codes into spider web pages you load in your browser, yous tin can add/remove features, and you can do some hacky stuff or automate things.

For example, let's say you lot want to be able to download YouTube videos, Y'all can use a TamperMonkey script to add a "Download" push to the videos.

TamperMonkey gives this awesome ability and you can take admission to pretty much everything you could become by writing a script or using some already-written scripts, and it has a dashboard that you can easily use to manage and edit the scripts in ane interface.

Yous can also access hundreds of already written user scripts via this site Greasy Fork.

Just search for the script you want and and you lot will get a lot of scripts that are relevant to your search query.

Using Google Chrome as an case;

  1. Goto your Google Chrome extension page by clicking https://chrome.google.com/webstore/category/extensions?hl=en

2. Search for TamperMonkey

3. Click on "Add to Chrome"

four. Add together the Extension to your chrome

5. Once it has been installed, Click on the Extension and click on Dashboard

6. Here yous volition have access to the TamperMonkey Dashboard

7. To install a new Script, go to Greasy Fork and search for user scripts, and in this example, I demand a script that can download Youtube Videos, Let's say I want to download NASA Astronauts Arrive at the International Space Station on SpaceX Spacecraft video.

8. If you click on that Youtube Video link before installing the "YouTube Download Script", You would detect that in that location is no option to download the video;

9. On Greasy Fork, use a search query that is relevant to the particular script yous want, e.g "Youtube downloader" then press "Enter".

10. You volition get a bunch of results relevant to your search query with the author details and another information similar ratings, date created, number of downloads etc.

11. Click on the script of your choice and in this instance, I will use the beginning result "Local YouTube Downloader"

12. Click on "Install this Script"

13. Click on Install

xiv. Get to the Website it works on (In our case, Youtube.com), and now we have the option to download the video

  1. Click on TamperMonkey extension at the top right corner of your browser, and click on Dashboard

2. On the Dashboard, you will take access to already installed scripts, you tin enable and disable the script.

3. To create your ain user script, click the Plus (+) icon

4. This will open up a text editor where y'all can write/paste your own codes

  1. Click the Checkbox at the back of the user script name

2. And so select the particular action y'all desire to perform, and so Click "Start"

You can meet how useful and crawly TamperMonkey is.

I promise you have learned something new.

Thanks for Reading!!!

How To Use Tampermonkey Scripts,

Source: https://ridbay.medium.com/how-to-inject-scripts-to-websites-using-tampermonkey-cffca17c8e2e

Posted by: coffeysamot1998.blogspot.com

0 Response to "How To Use Tampermonkey Scripts"

Post a Comment

Iklan Atas Artikel

Iklan Tengah Artikel 1

Iklan Tengah Artikel 2

Iklan Bawah Artikel