Nuna amsoshi da aka yiwa shaida: Nuna duk tambayoyi
  • An warware

Customize New Tab with a local HTML file after Firefox 136

Hello, I wanted to customize my Firefox new tab with a local HTML file, such as "/path/to/my/index.html". It was possible to use this workaround: https://github.com/Jang… (daɗa karatu)

Hello,

I wanted to customize my Firefox new tab with a local HTML file, such as "/path/to/my/index.html". It was possible to use this workaround: https://github.com/Jangsoodlor/Firefox-New-Tab-Config/tree/main https://github.com/Jangsoodlor/Firefox-New-Tab-Config/tree/main

Which implied a configuration file (sometimes named "autoconfig.cfg", "firefox.cfg", "local-settings.cfg" depending on the guide since the name is arbitrary) with javascript code. In the new Firefox 136, this code fails to execute due to a new API being used.

If you want to customize your new tab, follow the previous guide, but on the configuration file write this code instead:

// My new tab
try {
  const ff = {};
  ChromeUtils.defineESModuleGetters(ff, {AboutNewTab: "resource:///modules/AboutNewTab.sys.mjs"});
  ff.AboutNewTab.newTabURL = 'file:///path/to/my/index.html';
} catch (e) {ChromeUtils.reportError(e);}

Note that the file must start with a comment

Adapting the "/path/to/my/index.html" to your needs.

Thanks to @mkaply (github) on this thread https://github.com/mozilla/policy-templates/discussions/1190 for the new API method.

I post this here in case someone has the same issue, because is quite recent and hard to find on the internet.

Asked by LluisE 2 watannin da su ka gabata

Answered by jscher2000 - Support Volunteer 2 watannin da su ka gabata

Extensions toolbar item

Under Customize Toolbar, I want to move the toolbar item "Extensions" off the top menu bar, and into the Overflow Menu, or another area, to make the address bar bigger. … (daɗa karatu)

Under Customize Toolbar, I want to move the toolbar item "Extensions" off the top menu bar, and into the Overflow Menu, or another area, to make the address bar bigger. When I attempt to move it, there is a ban symbol across it and it will not move. Firefox 127.0.

Asked by mikeschwarz85018 3 watannin da su ka gabata

Last reply by jscher2000 - Support Volunteer 3 watannin da su ka gabata

How do I verify that the browser I am using is accessing the web via my VPN?

I just purchased a year subscription for the Mozilla VPN. I want to be able to verify that the FireFox browser I'm using is accessing the web via the VPN. How do I veri… (daɗa karatu)

I just purchased a year subscription for the Mozilla VPN. I want to be able to verify that the FireFox browser I'm using is accessing the web via the VPN. How do I verify that? I don't see any icon indicated that it's a VPN connection.

Asked by wills4 5 watannin da su ka gabata

Last reply by Tin Zaw Cho 3 watannin da su ka gabata

Firefox home page layout

I would really appreciate some direction as I am not the fastest gazelle on the serengeti. I have Firefox setup as my home page on both my laptop and my desktop. My lap… (daɗa karatu)

I would really appreciate some direction as I am not the fastest gazelle on the serengeti. I have Firefox setup as my home page on both my laptop and my desktop. My laptop, the bottom image, is just what I want but my desktop is not. There are 8 icons in the middle of the page and I would like to turnoff the automatic update for these icons and insert my preferred links there instead but I just cannot figure it out. And, as in the bottom image below, I cannot get the (+) sign to reappear for editing purposes.


There is an image of the current icons below.

Asked by c13563 3 watannin da su ka gabata

Last reply by Agent virtuel 3 watannin da su ka gabata

How to relocate urlbar/address off navbar to menubar?

Firefox has for quite some time always located the urlbar/address/megabar in the navbar level. One cannot move the urlbar to another location via *customize toolbar*.....… (daɗa karatu)

Firefox has for quite some time always located the urlbar/address/megabar in the navbar level. One cannot move the urlbar to another location via *customize toolbar*.....one CAN move the *search bar* option..... Since this seems to never have been done what script is needed to be in place to move the urlbar? I've come across many other custom stylesheet scripts to alter the vertical height, width, icon, but nothing on relocating it.

I take it that the script would begin with #urlbar

thx

Asked by DOHC6 3 watannin da su ka gabata

Last reply by DOHC6 3 watannin da su ka gabata

How to set new backgroung image to home page

Hi All I am trying to set up a background image to my FFX home page. In other browsers that is simple; I see no simple way in FFX. Is this a failing? Can it be overcome… (daɗa karatu)

Hi All

I am trying to set up a background image to my FFX home page. In other browsers that is simple; I see no simple way in FFX. Is this a failing? Can it be overcome, simply?

Asked by Lojong 3 watannin da su ka gabata

Last reply by James (On Leave) 3 watannin da su ka gabata

How to set new backgroung image to home page

Hi All I am trying to set up a background image to my FFX home page. In other browsers that is simple; I see no simple way in FFX. Is this a failing? Can it be overcome… (daɗa karatu)

Hi All

I am trying to set up a background image to my FFX home page. In other browsers that is simple; I see no simple way in FFX. Is this a failing? Can it be overcome, simply?

Asked by Lojong 3 watannin da su ka gabata

Last reply by TyDraniu 3 watannin da su ka gabata

How do I remove chat gpt from firefox.

Today when I opened firefox I was greeted with a chat gpt bot on the left side of my screen. I don't want chat gpt any where near my computer. Please tell me how to remov… (daɗa karatu)

Today when I opened firefox I was greeted with a chat gpt bot on the left side of my screen. I don't want chat gpt any where near my computer. Please tell me how to remove that part of firefox from my pc.

Asked by Buzz 4 watannin da su ka gabata

Last reply by AliceWyman 4 watannin da su ka gabata

How can I change the Wallpaper Image to show a picture I prefer?

Could you please let me know how I can change the Wallpaper to show an image I'd like to use and use in other browsers? Firefox is my preferred browser but I'd like to cu… (daɗa karatu)

Could you please let me know how I can change the Wallpaper to show an image I'd like to use and use in other browsers? Firefox is my preferred browser but I'd like to customize it to my preferences. Thank you

Asked by Jose Maria Barrionuevo 4 watannin da su ka gabata

Last reply by TyDraniu 4 watannin da su ka gabata

  • An warware

background-image: url("file:///C:/Tools/FF/FFbkgnd01.jpg") !important;

background-image: url("file:///C:/Tools/FF/FFbkgnd01.jpg") !important; Used to work, and does work in the regular version of the desktop app, but no longer works in… (daɗa karatu)

background-image: url("file:///C:/Tools/FF/FFbkgnd01.jpg") !important;

Used to work, and does work in the regular version of the desktop app, but no longer works in the beta for desktop 135.0b9, says: "Could not load the image"

Asked by careca 4 watannin da su ka gabata

Answered by careca 4 watannin da su ka gabata

First time creating a theme for Firefox

When I created the theme for Firefox and Saved it I exported it after that it asked me to pick a file type when I did that I used the XPI file and it keeps calling it cor… (daɗa karatu)

When I created the theme for Firefox and Saved it I exported it after that it asked me to pick a file type when I did that I used the XPI file and it keeps calling it corrupted I don't know why but I won't answers please

Asked by lashay.kyle37 4 watannin da su ka gabata

Last reply by jscher2000 - Support Volunteer 4 watannin da su ka gabata