Silverbullet Main Editing Window Blank When Loaded in Librewolf Or Brave

Probably if I am smart enough to set up a docker container running Silverbullet I ought to know the answer to this question, but when I load my silverbullet instance it works fine in Vivaldi, but the same site when loaded on Librewolf or Brave just produces a blank main screen. I presume there is some security setting interfering with this but I get the same result when I load the main screen of silverbullet.md on Librewolf (but not on Brave - the main site works fine for me on Brave.

Any tips on what might be interfering?

Thanks for a great program.

Do you see any error messages in the browser’s JavaScript console?

Looks like something to do with this (?) :

async.ts:99 DOMException: Failed to read the ‘cssRules’ property from ‘CSSStyleSheet’: Cannot access rules
at http://XXXXXXXXXX:32768/.client/client.js:227:7901
at Array.map ()
at http://XXXXXXXXXX:32768/.client/client.js:227:7888
at create (http:XXXXXXXXXX:32768/.client/client.js:227:5297)
at _D.create (http://XXXXXXXXXX:32768/.client/client.js:40:17052)
at Object.create (http://XXXXXXXXXX:32768/.client/client.js:40:17119)
at ls.computeSlot (http://XXXXXXXXXX:32768/.client/client.js:40:27756)
at Gp (http://XXXXXXXXXX:32768/.client/client.js:40:19982)
at new ls (http://XXXXXXXXXX:32768/.client/client.js:40:25056)
at ls.create (http://XXXXXXXXXX:32768/.client/client.js:40:27705)

What version of Librewolf are you running? This is the free version of Firefox right?

Yes. I run Arch and keep it updated so it is the latest version. Brave is doing the same for me - all desktop versions.

So what’s the version?

Sorry - It’s Librewolf 124.0.1-1.

The Brave that is doing the same thing is Version 1.64.109 Chromium: 123.0.6312.58 (Official Build) (64-bit)

What I am observing is that the page loads, then the text disappears, and I get a blinking cursor. It then allows me to type characters, but otherwise seems totally unresponsive. For example hitting the slash key does nothing.

thanks again

Just in case this is more helpful, this is from Brave:

Booting SilverBullet client in Online Mode
boot.ts:43 Not launching service worker, likely because not running from localhost or over HTTPs. This means SilverBullet will not be available offline.
(anonymous) @ boot.ts:43
(anonymous) @ boot.ts:51
async.ts:99 DOMException: Failed to read the ‘cssRules’ property from ‘CSSStyleSheet’: Cannot access rules
at http://XXX.XXX.XXX.XX:32768/.client/client.js:227:7901
at Array.map ()
at http://XXX.XXX.XXX.XX:32768/.client/client.js:227:7888
at create (http://XXX.XXX.XXX.XX:32768/.client/client.js:227:5297)
at D.create (http://XXX.XXX.XXX.XX:32768/.client/client.js:40:17052)
at Object.create (http://XXX.XXX.XXX.XX:32768/.client/client.js:40:17119)
at ls.computeSlot (http://XXX.XXX.XXX.XX:32768/.client/client.js:40:27756)
at Gp (http://XXX.XXX.XXX.XX:32768/.client/client.js:40:19982)
at new ls (http://XXX.XXX.XXX.XX:32768/.client/client.js:40:25056)
at ls.create (http://XXX.XXX.XXX.XX:32768/.client/client.js:40:27705)
(anonymous) @ async.ts:99
Promise.catch (async)
Vi @ async.ts:98
(anonymous) @ boot.ts:7
(anonymous) @ boot.ts:51
editor_ui.tsx:83 Uncaught TypeError: Cannot read properties of undefined (reading ‘contentDOM’)
at Object.
_ (editor_ui.tsx:83:27)
at nA (hooks.js:2:3374)
at Array.forEach ()
at age (hooks.js:2:2030)
(anonymous) @ editor_ui.tsx:83
nA @ hooks.js:2
age @ hooks.js:2
setTimeout (async)
r @ hooks.js:2
requestAnimationFrame (async)
lge @ hooks.js:2
kt.diffed @ hooks.js:2
tA @ preact.mjs:2
rV @ preact.mjs:2
nge @ preact.mjs:2
tA @ preact.mjs:2
rV @ preact.mjs:2
nge @ preact.mjs:2
tA @ preact.mjs:2
rV @ preact.mjs:2
nge @ preact.mjs:2
tA @ preact.mjs:2
rV @ preact.mjs:2
nge @ preact.mjs:2
tA @ preact.mjs:2
rV @ preact.mjs:2
nge @ preact.mjs:2
tA @ preact.mjs:2
rV @ preact.mjs:2
tA @ preact.mjs:2
rV @ preact.mjs:2
tA @ preact.mjs:2
rV @ preact.mjs:2
tA @ preact.mjs:2
rA @ preact.mjs:2
render @ editor_ui.tsx:318
init @ client.ts:182
await in init (async)
(anonymous) @ boot.ts:23
Vi @ async.ts:98
(anonymous) @ boot.ts:7
(anonymous) @ boot.ts:51
client_system.ts:114 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading ‘dispatch’)
at commandsUpdated (client_system.ts:114:32)
at rb.emit (event.ts:16:31)
at rb.buildAllCommands (command.ts:85:10)
commandsUpdated @ client_system.ts:114
emit @ event.ts:16
buildAllCommands @ command.ts:85
await in buildAllCommands (async)
(anonymous) @ command.ts:54
(anonymous) @ async.ts:6
setTimeout (async)
(anonymous) @ async.ts:5
(anonymous) @ command.ts:166
setTimeout (async)
apply @ command.ts:165
addHook @ system.ts:61
Ib @ client_system.ts:121
init @ client.ts:154
await in init (async)
(anonymous) @ boot.ts:23
Vi @ async.ts:98
(anonymous) @ boot.ts:7
(anonymous) @ boot.ts:51

This is obviously not a critically important problem, as I am happily using Silverbullet on Vivaldi/Chrome.
However I checked back in to note that I just installed Floorp as a test, and Floorp does the same.
Firefox itself, however, runs Silverbullet fine.

There must be something about the general settings in “Privacy Browsers” that conflicts with something silverbullet is doing. Probably simple, but beyond my diagnostic powers.

I note that this “blank screen” issue occurs on the main silverbullet.md website, so I don’t think this is related to any customization I might have done myself on my own setup.

Again - no big deal - just posting in case someone else runs into this.

1 Like