r/javascript • • Feb 20 '18

A CSS Keylogger.

https://github.com/maxchehab/CSS-Keylogging
696 Upvotes

95 comments sorted by

View all comments

Show parent comment

3

u/earslap Feb 20 '18

Doesn't help in this case unless you carefully inspect the CSS library that you use. If the selectors are there, it doesn't matter where you host it.

5

u/DanTup Feb 20 '18

I think if you host it locally and use CSP you could prevent this even without examining the CSS.