Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

[Bug] [Safari] Extension conflict on websites with Shopify checkout

Abierto
#15,994 1 comentario 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 2 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
typescript
Área
frontend

Línea de trabajo

Construye y habilita la extensión de Safari DarkReaderBug adjunta; después, reproduce el bloqueo en https://kkandjay.com/ completando el flujo de checkout de Shopify. Empieza siguiendo el observer de adoptedStyleSheets mientras la extensión reducida actualiza una hoja de estilos del Shadow DOM; el trabajo estará terminado cuando el checkout siga respondiendo sin que el proceso Safari Web Content alcance aproximadamente el 100 % de CPU.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug
Prerequisites
  • I searched for any existing report about this bug to avoid opening a duplicate.
  • I can reproduce this bug in a new, unmodified web browser profile with Dark Reader installed as the only extension.
  • I understand I need to use the Broken Website Report template if this bug I am reporting occurs on a single website.
Bug Description

DarkReader can conflict with other Safari extensions, causing the web page to become unresponsive, on sites with Shopify checkout. This affects my own Safari extension StopTheMadness Pro: https://apps.apple.com/app/stopthemadness-pro/id6471380298

I've created and attached a reduced test case Safari extension to reproduce the issue. The extension creates a new CSSStyleSheet and adds it to the adoptedStyleSheets of the Shadow DOM. It appears that the DarkReader observer for adopted style sheets is running in an infinite loop.

The Shadow DOM in this case is actually the payment buttons, for example, the PayPal button.

By the way, I lied in prerequisites, because I had to: "I can reproduce this bug in a new, unmodified web browser profile with Dark Reader installed as the only extension." Of course since this is an extension conflict, I had to enable a second extension.

Website Address

https://kkandjay.com/

Steps To Reproduce
  1. Build and enable the attached Safari extension DarkReaderBug
  2. Open https://kkandjay.com/
  3. Add an item to the cart
  4. Checkout
  5. Start entering data in the checkout form

DarkReaderBug.zip

Expected Behavior

The web page remains responsive.

Actual Behavior

The web page becomes unresponsive. The Safari Web Content process is using ~100% CPU.

Screenshots

No response

Operating System

macOS 15.7.9

Web Browser name and version

Safari 26.6.1

Dark Reader version

2.1.10

Additional Context

No response

Lenguaje dominante
TypeScript
Estrellas
22.4k
Forks
2.7k
Merge medio
1 d 7 h
PR fusionados (30 d)
54

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de darkreader/darkreader

Todos los issues de darkreader/darkreader

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.