sindresorhus/refined-github

Issue deleted console errors #2823

yakov116 posted onGitHub

<!-- Thanks for reporting a bug! ⛰ 1. Make sure the bug is caused by Refined GitHub. Try disabling the extension first. 2. Include a full URL where the bug appears. 3. Include a screenshot/gif Issues without a URL/screenshot will be closed -->

Githib (finally!) added that when an issue was delete it does not result in a 404 error. They display an issue deleted page. See https://github.com/sindresorhus/refined-github/issues/2821.

content.js:12238 ❌ Refined GitHub: feature `format-discussion-titles`

 TypeError: Cannot read property 'parentElement' of null
    at format_discussion_titles_init (content.js:6309)
    at features_run (content.js:2883)
    at content.js:2938
    at content.js:2830 


logError @ content.js:12238
features_run @ content.js:2892
(anonymous) @ content.js:2938
(anonymous) @ content.js:2830
async function (async)
(anonymous) @ content.js:2828
onAjaxedPagesRaw @ content.js:2824
onAjaxedPages @ content.js:2827
add @ content.js:2938
async function (async)
add @ content.js:2909
./source/content.ts @ content.js:6318
__webpack_require__ @ content.js:20
(anonymous) @ content.js:84
(anonymous) @ content.js:87

content.js:12238 ❌ Refined GitHub: feature `clean-sidebar`

 TypeError: Cannot read property 'classList' of null
    at clean (content.js:8342)
    at clean_sidebar_init (content.js:8383)
    at features_run (content.js:2883)
    at content.js:2938
    at content.js:2830 

logError @ content.js:12238
features_run @ content.js:2892
(anonymous) @ content.js:2938
(anonymous) @ content.js:2830
async function (async)
(anonymous) @ content.js:2828
onAjaxedPagesRaw @ content.js:2824
onAjaxedPages @ content.js:2827
add @ content.js:2938
async function (async)
add @ content.js:2909
./source/content.ts @ content.js:8386
__webpack_require__ @ content.js:20
(anonymous) @ content.js:84
(anonymous) @ content.js:87

content.js:12238 ❌ Refined GitHub: feature `sticky-discussion-sidebar`

 TypeError: Cannot read property 'offsetHeight' of null
    at updateStickiness (content.js:4541)
    at sticky_discussion_sidebar_init (content.js:4547)
    at async features_run (content.js:2883) 

logError @ content.js:12238
features_run @ content.js:2892
async function (async)
features_run @ content.js:2883
(anonymous) @ content.js:2938
onAjaxedPagesRaw @ content.js:2824
add @ content.js:2938
async function (async)
add @ content.js:2909
./source/content.ts @ content.js:4554
__webpack_require__ @ content.js:20
(anonymous) @ content.js:84
(anonymous) @ content.js:87

content.js:12238 ❌ Refined GitHub: feature `mark-unread`

 TypeError: Cannot read property 'after' of null
    at addMarkUnreadButton (content.js:4067)
    at mark_unread_init (content.js:4312)
    at async features_run (content.js:2883) 

Don't this this will cause any real issues but... ya never know.

Look for this selector should be fine

document.querySelector(".blankslate.blankslate-large.blankslate-spacious")

Fund this Issue

$0.00
Funded

Pull requests