How can I return a password into my add-on in JavaScript? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How can I return a password into my add-on in JavaScript?

I am trying to create an add-on for firefox that detects when a password is reused. Therefore I need to return the password entered in the browser to compare it to the database of already stored passwords.

9th May 2019, 12:42 PM
Kim Roggenbuck
Kim Roggenbuck - avatar
2 Answers
+ 1
If you want to add password in your website use PHP for safe but if you insist on JavaScript you can read about MD5 and MD4 as libraries in JavaScript they are as safe as they are so old.
9th May 2019, 1:39 PM
Basel.Al_hajeri?.MBH()
Basel.Al_hajeri?.MBH() - avatar
0
And to have fun you can use if(value == password)
9th May 2019, 1:42 PM
Basel.Al_hajeri?.MBH()
Basel.Al_hajeri?.MBH() - avatar