Skip to content

Some HTML elements get inserted twice  #5738

Closed

Description

@kytta

Please ensure:

  • The bug is caused by Refined GitHub. It doesn't happen if I disable the extension.
  • 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:

Screenshot of fltk/fltk

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:

  • Screenshots/video/gif demonstrating the bug, if it’s visual
  • Console errors, if any

Activity

  1. yakov116 commented on Jun 28, 2022

    @yakov116
    Member

    Assumi9ng because of #5719

  2. fregante commented on Jun 29, 2022

    @fregante
    Member

    Found the reason for this and #5733: turbo:load is fired on the first load too, not just on ajaxed loads 😖

  3. self-assigned this
    on Jun 29, 2022
  4. kidonng commented on Jun 29, 2022

    @kidonng
    Member

    I still see this on main branch, though I triggered it via navigate back and forward (https://github.com/EnixCoda/Gitako/commits/develop)

    image

  5. fregante commented on Jun 29, 2022

    @fregante
    Member

    Just now I saw this issue on load for the first time (Safari, store version), but I can't replicate that duplication issue anywhere

  6. pinned this issue on Jun 29, 2022
  7. fregante commented on Jun 29, 2022

    @fregante
    Member

    Refer to and continue on #5751

  8. locked and limited conversation to collaborators on Jun 29, 2022
  9. changed the title [-]Some HTML elements get inserted twice[/-] [+]Some HTML elements get inserted twice (Fixed waiting for release)[/+] on Jun 30, 2022
  10. unpinned this issue on Jul 1, 2022
  11. changed the title [-]Some HTML elements get inserted twice (Fixed waiting for release)[/-] [+]Some HTML elements get inserted twice [/+] on Jul 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions