- Archived
I screwed up my profile and now websites won't load
Hello, I did something stupid. I was trying to set up the dark/light theme via cli, and I asked openai about it. It suggested this command: echo 'user_pref("lightweight… (read more)
Hello, I did something stupid. I was trying to set up the dark/light theme via cli, and I asked openai about it.
It suggested this command:
echo 'user_pref("lightweightThemes.selectedThemeID", "firefox-compact-light@mozilla.org");' | jq -s '.[0]' > ~/.mozilla/firefox/*.default-release/prefs.js
Which resulted in the following error:
jq: parse error: Invalid numeric literal at line 1, column 11
When I opened mozilla, my profile was reset, and websites won't load (except this one!). They just hang there loading forever. My internet is fine, chromium works perfectly.
So how do I fix this and is there a way I can recover my profile? (Yes I know I should've made backups)