Answer the question
In order to leave comments, you need to log in
How to hide or mask the real link in JS?
Greetings
I am not strong in JS. There is an external form in the program file. The code has this entry:
qst_form.setAttribute('action', 'http://site.ru/in/questionare.php?page_charset='+page_charset+'&ts'+new Date().getTime());
Answer the question
In order to leave comments, you need to log in
what about the meaning? anyway, when submitting the form, the address will be visible in the console...
Try a normal obfuscator where deobfuscation can't be done just like that. Something of the level https://greybazar.com/shop/jscrypt_in/
To protect against viewing the address when submitting the form, the use of a proxy domain, in addition to obfuscation of the script itself, will help in addition to obfuscation of the script itself, to which they will be sent in encrypted form (at least a banal XOR, and then base64) form data and the address of the destination site, and the proxy domain will forward this data to the destination itself. But such a scheme is not possible everywhere, you need to look at the situation.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question