KevinSheedy / jquery.alphanum

Alphanumeric Plugin for jQuery
Other
141 stars 65 forks source link

Using alpanum plugin against XSS attacks #73

Open ghost opened 6 years ago

ghost commented 6 years ago

First of all: Great jquery plugin. Given that a user by using noscript (firefox), uBlock Origin (chrome, firefox) or some AdBlocker can kill a .js without killing all the js in a webpage is this secure to use it against XSS attacks?

I mean the code is great. Does what is supposed to. I am unsure if the user is able to prevent this and what is the best way to implement it in an app? Maybe hardcode it somehow?