Cannot read properties of null (reading ‘scrollHeight’)
-
Hi, on every page the browser console return me the follow error:
rc2Contentscript.js:249 Uncaught TypeError: Cannot read properties of null (reading 'scrollHeight') at rc2Contentscript.js:249:91
Looking the code, the error appear to be here “row 249”:
let currentHeight = Math.max(document.documentElement.scrollHeight, document.body.scrollHeight);
How can I solve it?
Thanks
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Cannot read properties of null (reading ‘scrollHeight’)’ is closed to new replies.