The main problem is that the window load jquery can slow down your web page.
$(window).load(function() { // code goes here });
This code uses jQuery’s window.load function to run code when the page has finished loading.
What is Tampermonkey
?
Tampermonkey is a browser extension for the Firefox and Chrome browsers that allows you to modify web pages on the fly. Tampermonkey can be used to add or remove elements from a web page, change the appearance of a web page, or even inject scripts into a web page.
Load jQuery into Tampermonkey
Load jQuery into Tampermonkey is a simple and easy way to load jQuery into your web browser. Simply add the following line of code to your web page, and you’re ready to go!