Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

[Bug] PDF files in iframes may be unexpectedly inverted

Aperta
#15,211 0 commenti 1 reazione 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Tranquilla
Stack tecnologico
typescript
Ambito
frontend, web-dev

Direzione di ricerca

Inizia riproducendo il problema nel sito PageWithFrame.html collegato, con Settings > General > “Enable for PDF files” disabilitato, testando ricaricamenti ripetuti dell’iframe. Traccia il modo in cui Dark Reader gestisce i contenuti PDF all’interno degli iframe e confronta i PDF basati su testo con quelli basati su immagini. Il lavoro è completato quando i file PDF negli iframe rimangono invariabilmente non invertiti con il supporto PDF disabilitato.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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

This issue originally occurred on a website that requires a login and is related to my work, so I cannot share it here. I was able to reproduce the issue on my own simple little website.

Website Address

https://stevenschifter.github.io/Portfolio/DRPDF/PageWithFrame.html

Steps To Reproduce
  1. Make sure Dark Reader 4.9.124 is installed.
  2. Turn off Settings > General > "Enable for PDF files".
  3. View the website.
Expected Behavior

The PDF file should not be inverted.

Actual Behavior

The PDF file may be inverted, but this is not always the case.

Screenshots
Screenshot of inverted PDF file inside an iframe
Operating System

Windows 11 Home 25H2

Web Browser name and version

Brave 1.89.132 (Official Build) (64-bit) Chromium: 147.0.7727.56

Dark Reader version

4.9.124

Additional Context

Reloading the frame sometimes de-inverts the PDF, but it can take up to 5 tries. I have tried excluding PDF files from Dark Reader's development tools using CSS selectors without success. This issue seems to occur more often with PDFs that are text-based. Image-based PDFs are inverted less often.

Lingua principale
TypeScript
Stelle
22.4k
Fork
2.8k
Merge medio
23h 34m
PR unite (30g)
59

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di darkreader/darkreader

Tutte le issue di darkreader/darkreader

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.