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 = {
|
const r = {
|
||||||
title: document.title,
|
title: document.title,
|
||||||
href: document.location.href,
|
href: document.location.href,
|
||||||
html: document.documentElement.outerHTML,
|
html: document.documentElement?.outerHTML,
|
||||||
text: document.body.innerText,
|
text: document.body?.innerText,
|
||||||
parsed: parsed,
|
parsed: parsed,
|
||||||
imgs: [],
|
imgs: [],
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue
Block a user