JonasCz / How-To-Prevent-Scraping

The ultimate guide on preventing Website Scraping
1.47k stars 134 forks source link

Another way to scrape data #8

Open lnfel opened 3 years ago

lnfel commented 3 years ago

I just wanted to share one of the tricks I did to scrape data to a website. Scraping can also be done by implementing a Chrome Extension. Since chrome extension hooks into website as inline script it is very hard to deal with.

This can be mitigated by having a robust Content Security Policy for inline scripts however, most websites doesn't have CSP policy implemented. Just enable nonce to token for your own scripts and block all other scripts not using those tokens or nonce.