There is no silver bullet to prevent headless browser or selecnium browser to scrape your brwoser. This is a basic solution to detect
phantomjs and selenium base
firefox browser and to handle what is going to happen.
$ npm install @lazy-copilot/noscraper or $ yarn add @lazy-copilot/noscraper
const handler = windowlocation = ''Vue// initzially redirect to google.com, when handler s not given