For use with RES, spawns a prompt to confirm before before you leave the reddit homepage so you don't lose your spot scrolling.
A simple extension to prompt before you navigate away from the Reddit homepage. Intended to be used with Reddit Enhancement Suite which uses endless scrolling.
This will only be enabled for https://www.reddit.com/ and https://old.reddit.com/ - no other pages will have this confirmation dialogue.
**IMPORTANT**: Due to Chrome browser limitations, you have to click/interact somewhere on the page before this will work. Chrome only allows webpages to spawn the "Are you sure you want to leave?" prompt if you've interacted with the website in some way.