Showing questions tagged: Show all questions

custom homepage as new tab page doesnt open automatically

hi guys and girls of mozilla, ive a little issue with a custom homepage i made which i want to use as my new tab page. im on linux and use firefox 76.0.1 (64bit). i set … (read more)

hi guys and girls of mozilla,

ive a little issue with a custom homepage i made which i want to use as my new tab page. im on linux and use firefox 76.0.1 (64bit).

i set up a autoconfig.cfg file with this code:

// var {classes:Cc,interfaces:Ci,utils:Cu} = Components;

  • set new tab page */

try { Cu.import("resource:///modules/AboutNewTab.jsm"); var newTabURL = "/home/joe/.mozilla/firefox/h75u1z1z.default/startpage/index.html"; AboutNewTab.newTabURL = newTabURL; } catch(e){Cu.reportError(e);} // report errors in the Browser Console

i also set up a autoconfig.js file with this code:

// First line should be a comment pref("general.config.filename", "autoconfig.cfg"); pref("general.config.obscure_value", 0); pref("general.config.sandbox_enabled", false);

theyre saved in lib/firefox and lib/firefox/defaults/prefs

i then put firefox to open new tabs with a blank page. now it works like this. when i click open a new tab i get a blank page. but in the urlbar is the file selected. now i only need to press enter and i have my new tab page.

the question now is- how can i force firefox to press enter for me. that it opens the file directly and doesnt need me to press enter.

can u spot any errors in the code i copied from a thread in reddits/r/firefox CSS forum?

or is there a setting i can change which makes it the page opens by itself?

ill add two pics- one when i just opend the new tab and one after i clicked enter

Asked by joe23reptiles 4 days ago

Last reply by joe23reptiles 2 days ago

Firefox keeps restoring session, I tried everything.

Hello. I use 76.0.1 (64-bit) on Xubuntu 20.04 and same thing happens on every computer. After clean system shutdown or restart, Firefox keeps restoring tabs I used. This … (read more)

Hello.

I use 76.0.1 (64-bit) on Xubuntu 20.04 and same thing happens on every computer. After clean system shutdown or restart, Firefox keeps restoring tabs I used. This never happens if I close Firefox first. Also this never happens when I close and reopen firefox in the same session. I tried everything: - obvious "Restore previous session" restore in options - about:config turning various options: browser.sessionstore.resume_from_crash browser.sessionstore.restore_tabs_lazily browser.sessionstore.resuming_after_os_restart browser.sessionstore.max_tabs_undo browser.sessionstore.restore_on_demand privacy.clearOnShutdown.sessions - i even created "user.json" with restore line as someone suggested None of these measures helped. I thought that It may be connected to XFCE session store somehow, so I went through disabling that too - no change. No other program happens to do the same. After reboot, when someone starts Firefox, all my tabs from previous session are reopened instantly. This happens on my both Xubuntu workstations, but never happens on my Windows computers. Please help.

Asked by artur.kw 1 day ago

Last reply by artur.kw 1 day ago

Tab Crash

All I'd like to know is how to completely disable the ability of tabs crashing for any reason at all, permanently. I'd very seriously would rather the computer freeze or … (read more)

All I'd like to know is how to completely disable the ability of tabs crashing for any reason at all, permanently. I'd very seriously would rather the computer freeze or risk hardware damage, whatever pref(s) listed and unlisted I need to enable or disable I can put in lock file or anything. -Thanks!

Asked by guyfromkcmo 3 days ago

Last reply by guyfromkcmo 1 day ago