Tìm kiếm hỗ trợ

Tránh các lừa đảo về hỗ trợ. Chúng tôi sẽ không bao giờ yêu cầu bạn gọi hoặc nhắn tin đến số điện thoại hoặc chia sẻ thông tin cá nhân. Vui lòng báo cáo hoạt động đáng ngờ bằng cách sử dụng tùy chọn "Báo cáo lạm dụng".

Learn More

TypeError: document.body is null

  • Không có trả lời
  • 1 gặp vấn đề này
  • 2 lượt xem
more options

Manifest: "content_scripts":[{ "all_frames": true, "matches": ["https://*/*"], "js": ["test.js"], "run_at": "document_end" }],

test.js: document.body.addEventListener(...)

And try to open this page: https://via.hypothes.is/https://lists.torproject.org/pipermail/tor-onions/2019-January/thread.html


Final Result: "TypeError: document.body is null" in Browser Console.

Expected result: No error, because the script run at document_end

Tested on: Tor Browser 8.0.5

May affect on: Firefox 60.5.0esr

The reason why I post this here is bugzilla.mozilla.org doesn't let me create an account. Go easy on me.

Manifest: "content_scripts":[{ "all_frames": true, "matches": ["https://*/*"], "js": ["test.js"], "run_at": "document_end" }], test.js: document.body.addEventListener(...) And try to open this page: https://via.hypothes.is/https://lists.torproject.org/pipermail/tor-onions/2019-January/thread.html Final Result: "TypeError: document.body is null" in Browser Console. Expected result: No error, because the script run at document_end Tested on: Tor Browser 8.0.5 May affect on: Firefox 60.5.0esr The reason why I post this here is bugzilla.mozilla.org doesn't let me create an account. Go easy on me.