Internet Explorer Shenanigans

(Last edited: October 29, 2019)

window.scrollY and window.scrollX

Alternatives for window.scrollY and window.scrollX are window.pageYOffset and window.pageXOffset respectively. These properties provide the best cross-browser support.

Adding a cookie

Open the browser console and type document.cookie="<KEY>=<VALUE>";void(0); where you replace the KEY and VALUE respectively with the correct values.

© 2022, built with Gatsby. Subscribe via RSS.
Crafted by John Darryl Pelingo
. All rights reserved.