### Please ensure: - [X] The bug is caused by Refined GitHub. It doesn't happen if I disable the extension. - [X] The bug happens after clearing extension cache. The "Clear cache" button below can also be found at the bottom of the options page. ### Example URLs https://github.com/fltk/fltk https://github.com/refined-github/refined-github ### Extension version 22.6.25 ### Browser(s) used Firefox ### Description On some repos, DOM elements that RG inserts (like the “Bugs” tab) get inserted twice: <img width="1154" alt="Screenshot of fltk/fltk" src="https://user-images.githubusercontent.com/6566248/176194729-c0a29d61-41b8-4c2b-a0b4-102ef6be743e.png"> There are some console warnings, but all of them come from GitHub itself. The extensions doesn't report anything. Perhaps this is related to #5733 ### Include in this issue: - [X] Screenshots/video/gif demonstrating the bug, if it’s visual - [X] Console errors, if any
Activity
yakov116 commentedon Jun 28, 2022
Assumi9ng because of #5719
fregante commentedon Jun 29, 2022
Found the reason for this and #5733:
turbo:loadis fired on the first load too, not just on ajaxed loads 😖kidonng commentedon Jun 29, 2022
I still see this on main branch, though I triggered it via navigate back and forward (https://github.com/EnixCoda/Gitako/commits/develop)
fregante commentedon Jun 29, 2022
Just now I saw this issue on load for the first time (Safari, store version), but I can't replicate that duplication issue anywhere
fregante commentedon Jun 29, 2022
Refer to and continue on #5751
[-]Some HTML elements get inserted twice[/-][+]Some HTML elements get inserted twice (Fixed waiting for release)[/+][-]Some HTML elements get inserted twice (Fixed waiting for release)[/-][+]Some HTML elements get inserted twice [/+]