U
U
ur_personal_friend2022-04-14 19:08:45
JavaScript
ur_personal_friend, 2022-04-14 19:08:45

How to run javascript code (file) in browser console?

I have a .js script (file) on my media that I need to run for the page. As an extension, it definitely works, but I need to run it through the good old F12. So, I tried to run it through the Chrome browser - I opened the console, went to the Sources, Filesystem tab, indicated the folder with the script - he saw it. But the script didn't run. Some rubbish in the debugger stopped the process. But I'm not at all sure that I did the right thing.
625846f881e3e982351102.png

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question