K
K
Konstantin Vasilyev2021-06-25 16:23:10
JavaScript
Konstantin Vasilyev, 2021-06-25 16:23:10

Why can JS scripts conflict?

Hello. In the Chrome extension, the code is launched using window.onload ,
followed by replacing words from arrays with stars.

But when the extension is enabled, the forms on several sites do not work - for example, online.sberbank.ru.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Anton Anton, 2021-06-25
@Fragster

Use https://developer.mozilla.org/ru/docs/Web/API/Even...

A
acwartz, 2021-06-25
@acwartz

On the websites of banks, because the client is not serious, everything breaks down, and then suddenly a scammer with his cool hacker scripts.

E
Egor Zhivagin, 2021-06-25
@Krasnodar_etc

If you change the characters in the value of some input to asterisks, then this value may not pass validation, for example. But this is a pitchfork in the water, you have to look at exactly how "forms do not work"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question