mirror of
https://github.com/intergalacticalvariable/reader.git
synced 2024-11-16 11:42:32 +08:00
fix: on null element
This commit is contained in:
parent
53a4361c23
commit
15606f38d7
|
@ -175,8 +175,8 @@ function giveSnapshot() {
|
|||
const r = {
|
||||
title: document.title,
|
||||
href: document.location.href,
|
||||
html: document.documentElement.outerHTML,
|
||||
text: document.body.innerText,
|
||||
html: document.documentElement?.outerHTML,
|
||||
text: document.body?.innerText,
|
||||
parsed: parsed,
|
||||
imgs: [],
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user