Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Refined GitHub has been loaded twice.

See original GitHub issue

Please ensure:

  • The bug is caused by Refined GitHub. It doesn’t happen if I disable the extension.


I haven’t found an exact set of steps that leads to the message, but generally a combination of viewing all files in a PR on GitHub, viewing files for a specific commit result in the warning in the logs. Sometimes I get TypeError: Cannot read properties of undefined (reading 'cloneNode') error first, then after switching between tabs I eventually get the warning. Sometimes I get the warning straight away, followed by the error…



Console errors

VM52 refined-github.js:8646 
Uncaught TypeError: Cannot read properties of undefined (reading 'cloneNode')
    at add (VM52 refined-github.js:8646)
    at runAdd (VM52 refined-github.js:4602)
    at applyChanges (VM52 refined-github.js:4572)
    at SelectorObserver.addRootNodes (VM52 refined-github.js:4724)
    at Array.processBatchQueue (VM52 refined-github.js:4544)
    at MutationObserver.handleMutations (VM52 refined-github.js:4561)
add @ VM52 refined-github.js:8646
runAdd @ VM52 refined-github.js:4602
applyChanges @ VM52 refined-github.js:4572
addRootNodes @ VM52 refined-github.js:4724
processBatchQueue @ VM52 refined-github.js:4544
handleMutations @ VM52 refined-github.js:4561
setTimeout (async)
handleMutations @ VM52 refined-github.js:4563
attributes (async)
scheduleMacroTask @ VM52 refined-github.js:4555
(anonymous) @ VM52 refined-github.js:4548
SelectorObserver.observe @ VM52 refined-github.js:4761
observe @ VM52 refined-github.js:4781
init @ VM52 refined-github.js:8642
async function (async)
init @ VM52 refined-github.js:8631
runFeature @ VM52 refined-github.js:1964
setupPageLoad @ VM52 refined-github.js:1977
add @ VM52 refined-github.js:1999
async function (async)
add @ VM52 refined-github.js:1984
(anonymous) @ VM52 refined-github.js:8626
(anonymous) @ VM52 refined-github.js:9712
(anonymous) @ VM52 refined-github.js:9713

Example URL

Browser(s) used

Edge, version 94.0.992.31 (Official build) (64-bit) Extension, v21.9.18

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:12 (7 by maintainers)

github_iconTop GitHub Comments

adrianschmidtcommented, Nov 25, 2021

I plan to look into the underlying issue and see if it’s within my capacity to resolve it, but I simply haven’t had the possibility to prioritise taking the time to do it. It’s top of my personal agenda though (just not my job agenda, unfortunately 😞).

That said, if anyone else wants to look into it, please do! ❤️

kidonngcommented, Feb 13, 2022

Saw this review on Chrome Web Store:


Not sure what’s that about but I do feel the problem persists to some extent.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Refined Github has been loaded twice · Issue #4319
I am not signed in on from the computer that browses GHE. All reactions.
Read more >
Refined Github has been loaded twice #4319 - Issuehunt
The issue has been closed. Refined Github has been loaded twice #4319. stdedos posted onGitHub ... Make sure the bug is caused by...
Read more >
How to Dual Boot Steam Deck - SteamOS & Windows - YouTube
Easily Dual Boot ANY Steam Deck into a machine that will boot SteamOS or Windows 11/10 via an Custom Bootloader, with ONE press...
Read more >
C++ Core Guidelines - GitHub Pages
Had it been an open-source (code) project, this would have been ... The date is validated twice (by the Date constructor) and passed...
Read more >
The 8 Best Chrome Extensions to Improve Your GitHub ...
You can turn off any of these features individually by going to Extensions > Refined GitHub > Extension Options. This free extension has...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found