I just want to know is there any option to stop taking the screenshot from a mobile view of any web page which is designed using HTML CSS of with a framework like bootstrap?
@media print { html, body { display: none; / hide whole page / } }
I’m pretty sure there is no way of doing this. Screenshots are not a function delivered by website, and even not by browser. It’s your mobile function.
It’s the same like you can’t prevent desktop browser to do print screen of your site.
Another thing is that it’s a default behavior and as such it shouldn’t even be modified - it would confuse users.