Hiển thị các câu hỏi được đánh dấu: Xem tất cả các câu hỏi
  • Đã giải quyết

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… (xem thêm)

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.

Được hỏi bởi LluisE 2 tháng trước

Được trả lời bởi jscher2000 - Support Volunteer 2 tháng trước

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. … (xem thêm)

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.

Được hỏi bởi mikeschwarz85018 3 tháng trước

Lần cuối trả lời bởi jscher2000 - Support Volunteer 3 tháng trước

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… (xem thêm)

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.

Được hỏi bởi wills4 5 tháng trước

Lần cuối trả lời bởi Tin Zaw Cho 3 tháng trước

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… (xem thêm)

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.

Được hỏi bởi c13563 3 tháng trước

Lần cuối trả lời bởi Agent virtuel 3 tháng trước

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*.....… (xem thêm)

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

Được hỏi bởi DOHC6 3 tháng trước

Lần cuối trả lời bởi DOHC6 3 tháng trước

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… (xem thêm)

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?

Được hỏi bởi Lojong 3 tháng trước

Lần cuối trả lời bởi James (On Leave) 3 tháng trước

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… (xem thêm)

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?

Được hỏi bởi Lojong 3 tháng trước

Lần cuối trả lời bởi TyDraniu 3 tháng trước

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… (xem thêm)

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.

Được hỏi bởi Buzz 3 tháng trước

Lần cuối trả lời bởi AliceWyman 3 tháng trước

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… (xem thêm)

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

Được hỏi bởi Jose Maria Barrionuevo 4 tháng trước

Lần cuối trả lời bởi TyDraniu 4 tháng trước

  • Đã giải quyết

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… (xem thêm)

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"

Được hỏi bởi careca 4 tháng trước

Được trả lời bởi careca 4 tháng trước

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… (xem thêm)

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

Được hỏi bởi lashay.kyle37 4 tháng trước

Lần cuối trả lời bởi jscher2000 - Support Volunteer 4 tháng trước