Join the Mozilla’s Test Days event from Dec 2–8 to test the new Firefox address bar on Firefox Beta 134 and get a chance to win Mozilla swag vouchers! 🎁

Den här webbplatsen har begränsad funktionalitet medan vi utför underhåll för att förbättra din upplevelse. Om en artikel inte löser ditt problem och du vill ställa en fråga har vi vår gemenskap som väntar på att hjälpa dig på @FirefoxSupport på Twitter, /r/firefox på Reddit.

Sök i support

Akta dig för supportbedrägerier: Vi kommer aldrig att be dig att ringa eller skicka ett sms till ett telefonnummer eller dela personlig information. Rapportera misstänkt aktivitet med alternativet "Rapportera missbruk".

Läs mer

I screwed up my profile and now websites won't load

  • 1 svar
  • 0 har detta problem
  • 1 visning
  • Senaste svar av cor-el

more options

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)

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)

Alla svar (1)

more options

What Firefox version do you have? Is this Firefox from the Mozilla server or another version like Snap or Flatpak or from the Linux repositories?

You can create a new profile as a quick test to see if your current profile is causing the problem.

See "Creating a profile":

If the new profile works, you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over problems.