darkreader / darkreader/darkreader

HTML Blob support

Open
#500 1 comment 0 reactions 0 assignees View on GitHub
Browser bug
Dominant language
TypeScript
Stars
22.4k
Forks
2.7k
Avg merge
21h 11m
Merged PRs (30d)
78

Description

Our uni has a webapp which uses JavaScript to dynamically generate HTML content and render it as a Blob file in a new tab.

Here's how it works:
```javascript
var blob = new Blob([
'

HTML content, one line per element

\n',
'

Next line

\n',
], { type: 'text/html' });
open(URL.createObjectURL(blob), 'window title');
```
(If you want to test it out, copy and paste this into your DevTools console)

The window opens in a new tab, with the HTML content rendered, but Dark Reader doesn't seem to see it or invert it under any combination of settings.
The URL becomes as such:
`blob:https://.com/`
Please take a look and see if it's possible to implement blob support, thank you ^_^

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.