`restore-file` broken for binaries on Firefox

Author: cooljeaniusCreated Sep 10, 2026Updated Sep 11, 2026
Labelsbughelp wantedfirefox

Description

When I try using the "restore-file" feature on binary files, I get an error message in the bottom right saying:

Refined GitHub
Error: Permission denied to access property "constructor"

Clicking on the "Learn More" after the message in the browser console leads to this page: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Property_access_denied

Screenshot: Image

How to replicate the issue + URL

https://github.com/cooljeanius/gcc-wwwdocs/pull/3

Extension version

26.9

Browser(s) used

Firefox 155.0.1 (64-bit) on macOS Tahoe 26.6.2 (x86_64)

Token ⚠️

  • I set a token in the options page. I understand that some features require a token to work.

Source: refined-github/refined-github