-
Previously I was able to use custom local file as a new tab page using this code in firefox.cfg:
Which no longer works in firefox 136 sadly, Is the a policy, or updated code for firefox.cfg that can fix that? |
Beta Was this translation helpful? Give feedback.
Answered by
mkaply
Feb 5, 2025
Replies: 1 comment 2 replies
-
We moved away from JSMs. Try: ChromeUtils.defineESModuleGetters(this, { No promises though. Anything in autoconfig that relies on Firefox internals can break. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
shdowmyst
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We moved away from JSMs.
Try:
ChromeUtils.defineESModuleGetters(this, {
AboutNewTab: "resource:///modules/AboutNewTab.sys.mjs",
});
No promises though.
Anything in autoconfig that relies on Firefox internals can break.