Answer the question
In order to leave comments, you need to log in
How to run code from chrome console on page reload?
Hello. Is it possible to set custom js code for a specific page? For example, the simplest one, "Every time after I turn on the computer, I go to/reload the ya.ru page, the alert ("hi") script worked. In general, I want to delete certain blocks for myself, about visiting the site.
Maybe I'm in the wrong I think aside. At work, I constantly visit a page with a very large selection of products, it is so large that it takes a lot of my working time to "think" this page with a computer. The bottom line is that I want to hide elements that I do not need. I hope that hiding or deleting (even already loaded) data will speed things up.. I'm all for the DOM, it's huge and, in my opinion, it takes so much time to build it.
And yes, the freeze occurs on my side, since I tested it, different PCs, different amounts of RAM, the server gives everything quickly.
Answer the question
In order to leave comments, you need to log in
You can use extensions like Tampermonkey or User JavaScript and CSS to install your own scripts and css.
But they won’t be able to speed up anything especially, since the scripts are launched after loading.
Hiding blocks with unnecessary products will not help you speed up the loading of the site, on the contrary, it will create an additional load and will still be slow. You need to write a parser that will load the page with Ajax, pull out only the data you need and send it to the mail, it will be faster and easier.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question