Anatomy of a malicious script: how a website can take over your browser

By now, we all know that the major tech behemoths like Facebook or Google know everything about our lives, including how often we go to the bathroom (hence all the prostate medication ads that keep popping up, even on reputable news sites). After all, we’ve given them permission to do so, by reading pages and pages of legalese in their T&C pages (we all did, didn’t we?) and clicking on the “Accept" button.
But what can a site do to …
The post Anatomy of a malicious script: how a website can take over your browser appeared first on CSS-Tricks.

Link: https://css-tricks.com/anatomy-of-a-malicious-script-how-a-website-can-take-over-your-browser/