Is it possible to disable some js code on someone else's html page?

Hello! Recently, I needed something to copy from one site, but it is an area that is copied, all done on javascript. There's also the function prohibiting to select and copy text. So the question is: can a console like that is to suspend\to zakommentirovat\remove part of js from file? Given the fact that the site is of course not mine. Thanks in advance)
March 19th 20 at 08:52
3 answers
March 19th 20 at 08:54
Solution
if it is connected jquery on the website, you can write in console $('CSS selector here and a block').off()
api.jquery.com/off
March 19th 20 at 08:56
Solution
You can try to save the page as "html only" or saved normally, and remove all js files from the saved folder.
In order to run their scripts use browser plugins. I use Custom Style Script/
There all is generated by js, the whole unit I need. And disable need just 10-15 lines of code, and there are 6,000 of them - Antwan_Crona commented on March 19th 20 at 08:59
March 19th 20 at 08:58
Solution
in the console write something like body.innerHTML and pluchayut as a string the entire generated page

Find more questions by tags JavaScript