Console Errors #2907
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 -->
- When clicking on almost any dropdown
content.js:4477 Uncaught TypeError: Cannot read property 'getBoundingClientRect' of null
at content.js:4477
Go to any PR start commenting and refresh the page
content.js:808 Uncaught (in promise) TypeError: elements is not iterable
at Function.watchAndFit [as watch] (content.js:808)
at enable (content.js:7545)
at fitPrCommitMessageBox (content.js:7553)
at HTMLDocument.<anonymous> (content.js:5818)
watchAndFit @ content.js:808
enable @ content.js:7545
fitPrCommitMessageBox @ content.js:7553
(anonymous) @ content.js:5818
async function (async)
(anonymous) @ content.js:5817
so @ session-resume.esm.js:144
(anonymous) @ session-resume.ts:33
content.js:8660 Uncaught (in promise) TypeError: Cannot read property 'dispatchEvent' of null
at triggerValidation (content.js:8660)
at HTMLDocument.<anonymous> (content.js:5818)
The first time you go to any repo
content.js:12768 ā Refined GitHub: feature `repo-age`
TypeError: Cannot read property 'src' of undefined
at content.js:10313
at async getSet (content.js:2412)
- Press <kbd>T</kbd> on any repo issue page.
content.js:10791 Uncaught (in promise) TypeError: Cannot read property 'rghFileFinderTerm' of null
at setValueInField (content.js:10791)
at preserve_file_finder_term_init (content.js:10800)
at features_run (content.js:2798)
at content.js:2853
at content.js:2742
- When editing and creating a new milestone
ā Refined GitHub ā filter-comments-by-you ā TypeError: Cannot read property 'cloneNode' of null at filter_comments_by_you_init (refined-github.js:8380) at features_run (refined-github.js:5917) at refined-github.js:5972 at refined-github.js:5861 Search issue: https://github.com/sindresorhus/refined-github/issues?q=is%3Aissue+Cannot%20read%20property%20'cloneNode'%20of%20null
refined-github.js:4113 ā Refined GitHub ā hide-issue-list-autocomplete ā TypeError: Cannot read property 'setAttribute' of null at hide_issue_list_autocomplete_init (refined-github.js:9478) at features_run (refined-github.js:5917) at refined-github.js:5972 at refined-github.js:5861
``` The issue is here https://github.com/sindresorhus/refined-github/blob/d757f50ba6ae5b01638f572fcd59665706e0cdf5/source/libs/page-detect.ts#L260