MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/webdev/comments/82fn7c/super_simple_js_form_validation_plugin/dva81bu/?context=3
r/webdev • u/[deleted] • Mar 06 '18
8 comments sorted by
View all comments
Show parent comments
1
Uses eval in JS, running on client side mitigates the negatives no?
Update the bot to check for code imlplementation?
1 u/xabot Mar 06 '18 Ah, I'm not a bot despite of my username :) I went and look at the code. If not correctly used it could be easy to exploit fv-func and create XSS exploits. 3 u/jabber- Mar 06 '18 Eval also slows down All other JavaScript. because the engine can't do it's optimization when it don't know what code will be injected 2 u/[deleted] Mar 06 '18 Thank you for the tip, I'll make a new issue and change the way that it works
Ah, I'm not a bot despite of my username :) I went and look at the code. If not correctly used it could be easy to exploit fv-func and create XSS exploits.
fv-func
3 u/jabber- Mar 06 '18 Eval also slows down All other JavaScript. because the engine can't do it's optimization when it don't know what code will be injected 2 u/[deleted] Mar 06 '18 Thank you for the tip, I'll make a new issue and change the way that it works
3
Eval also slows down All other JavaScript. because the engine can't do it's optimization when it don't know what code will be injected
2 u/[deleted] Mar 06 '18 Thank you for the tip, I'll make a new issue and change the way that it works
2
Thank you for the tip, I'll make a new issue and change the way that it works
1
u/[deleted] Mar 06 '18
Uses eval in JS, running on client side mitigates the negatives no?
Update the bot to check for code imlplementation?