Skip to content

Change new tab page to local file #1190

Closed Answered by mkaply
shdowmyst asked this question in Q&A
Discussion options

You must be logged in to vote

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.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@shdowmyst
Comment options

@mkaply
Comment options

Answer selected by shdowmyst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants