I preserve the scrolling state in Redux (I use it as main browser storage). In my case, a simple scrolling position (Y coordinate) would not work because content could be added and DOM elements could change in size because typography size is customizable at any moment by the user.
In your case a visibility sensor would not be needed. You know where in the page the user jumps to another page because the user just clicked on that element.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hi Gurupal
I preserve the scrolling state in Redux (I use it as main browser storage). In my case, a simple scrolling position (Y coordinate) would not work because content could be added and DOM elements could change in size because typography size is customizable at any moment by the user.
In your case a visibility sensor would not be needed. You know where in the page the user jumps to another page because the user just clicked on that element.