4 ms·
Funny that it still has javascript. Just a tiny scroll-up function, but still funny.
by leggomylibro 9y ago
Funny that it still has javascript.
Just a tiny scroll-up function, but still funny.
- flukus 9y agoIf I'm interpreting the javascript properly, it looks like it breaks the back button by forcing you to the top of the page.
- ameliaquining 9y agoNo, the JavaScript has nothing to do with scrolling. Rather, it checks whether it's inside an iframe, and if so, navigates the top-level window to its own URL. In other words, it prevents you from embedding the site; if you try, your page will instead redirect to it. However, in the modern era, this kind of measure is neither necessary (because you can block iframing with CSP) nor effective (because the parent page can sandbox the iframe).