1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
<html> <head> <meta name="viewport" content="width=device-width, minimum-scale=1.0"> <script> let did_scroll = false; window.addEventListener('scroll', () => { did_scroll = true; }); </script> <style> p { position: absolute; left: 10000px; top: 10000px; } </style> </head> <body> <a id="link" href="#text">Go Down</a> <p id="text">Some text</p> </body> </html>