Don't worry such a page could infect your computer; it's just a big bluff to sell you a piece of sh…
No, sorry, that's not correct. Web sites exploit bugs in browsers, extensions, the operating system. Merely by opening a web page, they can run code on your system. We had this in the past for example:
- GDIplus had a bug that when a certain image would shown, some part of the image would be treated as code and executed.
- TCP/IP stack bugs exploited buffer overruns by sending you TCP/IP packages out of order or malformed packages.
See https://www.secplicity.org/2014/06/10/windows-updates-fix-gdi-rdp-and-tcp-vu...