H
H
Huntgold2020-12-16 23:30:09
JavaScript
Huntgold, 2020-12-16 23:30:09

Is it possible to use extended JS in the browser (as through the console)?

You cannot call a loop in the console and write complex code. For example, I go to someone else's site, can I push my JS through the browser? For example, parse the page, etc.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Aetae, 2020-12-16
@Aetae

You cannot call a loop in the console and write complex code.

Can.
push your JS through the browser

What problems? Create a tag scriptand upload whatever you want there.
But in general you need userscripts like tampermonkey .

N
Nadim Zakirov, 2020-12-17
@zkrvndm

You can write complex code in the console, hold down the shift key to break the line and only then press inter, but usually I use special browser extensions to run JavaScript on sites. Of course, you can also launch and parse through the console, but this is simply inconvenient.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question