Hi everyone!
I am trying to prevent data theft from webpage. One of the best option is obfuscating HTML code.
In webpage, there are text elements that have values in human readable format (plaintext). I need them to be remained as plaintext, but encoded in HTML code.
I tried the following:
- Added HTML element in webpage (UI designer).
- Inserted Javascript to obfuscate elements by their ID. For this, I assigned name.
- Inserted ID name in the ID attribute of text element.
This does not work. Is my approach correct? Could you please suggest some script?
Thanks,
Orkhan