次のタグが付けられた質問を表示: すべての質問を表示
  • 解決済み

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… (続きを読む)

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.

2 か月前 に LluisE が質問

2 か月前 に jscher2000 - Support Volunteer が回答

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. … (続きを読む)

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.

3 か月前 に mikeschwarz85018 が質問

3 か月前 に jscher2000 - Support Volunteer最後の返信

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… (続きを読む)

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.

5 か月前 に wills4 が質問

3 か月前 に Tin Zaw Cho最後の返信

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… (続きを読む)

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.

3 か月前 に c13563 が質問

3 か月前 に Agent virtuel最後の返信

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*.....… (続きを読む)

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

3 か月前 に DOHC6 が質問

3 か月前 に DOHC6最後の返信

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… (続きを読む)

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?

3 か月前 に Lojong が質問

3 か月前 に James (On Leave)最後の返信

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… (続きを読む)

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?

3 か月前 に Lojong が質問

3 か月前 に TyDraniu最後の返信

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… (続きを読む)

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.

4 か月前 に Buzz が質問

4 か月前 に AliceWyman最後の返信

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… (続きを読む)

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

4 か月前 に Jose Maria Barrionuevo が質問

4 か月前 に TyDraniu最後の返信

  • 解決済み

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… (続きを読む)

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"

4 か月前 に careca が質問

4 か月前 に careca が回答

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… (続きを読む)

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

4 か月前 に lashay.kyle37 が質問

4 か月前 に jscher2000 - Support Volunteer最後の返信