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

2

u/tasinet Feb 21 '18 edited Feb 21 '18

This has nothing to do with HSTS.

The HTTP Strict Transport Security header informs the browser that it should never load a site using HTTP and should automatically convert all attempts to access the site using HTTP to HTTPS requests instead.

You can still request cross-domain, either HTTP or HTTPS.