Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Этот сайт имеет ограниченную функциональность, пока мы проводим техническое обслуживание для улучшения его работы. Если какая-либо статья не решила вашу проблему и вы хотите задать вопрос, наше сообщество поддержки ждёт вас: @FirefoxSupport в Твиттере и /r/firefox на Reddit.

Поиск в Поддержке

Избегайте мошенников, выдающих себя за службу поддержки. Мы никогда не попросим вас позвонить, отправить текстовое сообщение или поделиться личной информацией. Сообщайте о подозрительной активности, используя функцию «Пожаловаться».

Подробнее

chrome:// URLs no longer work in Firefox 55, what has replaced them?

  • 4 ответа
  • 5 имеют эту проблему
  • 1 просмотр
  • Последний ответ от tim3

more options

Up until now I've been using this URL to show my Firefox bookmarks as a page: chrome://browser/content/bookmarks/bookmarksPanel.xul

(see https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Tutorial/The_Chrome_URL)

I've been using it with the extension New Tab Override so that new tabs will show my bookmarks, instead of the default 'tiles'. The author of New Tab Override updated it for Firefox 55 by making it a WebExtension. The problem is that now that the chrome:// URLs seem to no longer work in FF 55 I need to find the new URL to display my bookmarks as a page?

Up until now I've been using this URL to show my Firefox bookmarks as a page: chrome://browser/content/bookmarks/bookmarksPanel.xul (see https://developer.mozilla.org/en-US/docs/Mozilla/Tech/XUL/Tutorial/The_Chrome_URL) I've been using it with the extension New Tab Override so that new tabs will show my bookmarks, instead of the default 'tiles'. The author of New Tab Override updated it for Firefox 55 by making it a WebExtension. The problem is that now that the chrome:// URLs seem to no longer work in FF 55 I need to find the new URL to display my bookmarks as a page?

Выбранное решение

Sorry, but the New Tab Override extension has been updated to use the more restricted WebExtensions API for Firefox 57 compatibility and can no longer show a local page (a page whose address starts with file://) -- or apparently a chrome:// page -- in place of the built-in new tab page.

As a "two-click" workaround you can pin the local/chrome page in the first tile position on the built-in new tab page. See: Customize your Firefox New Tab page.

Or if you display the Bookmarks Toolbar you can bookmark your local page on the bar and Ctrl+click or middle-click the bookmark to launch it in a new tab.

Hopefully one of those will tide you over until someone comes up with a better way.

Прочитайте этот ответ в контексте 👍 1

Все ответы (4)

more options

Выбранное решение

Sorry, but the New Tab Override extension has been updated to use the more restricted WebExtensions API for Firefox 57 compatibility and can no longer show a local page (a page whose address starts with file://) -- or apparently a chrome:// page -- in place of the built-in new tab page.

As a "two-click" workaround you can pin the local/chrome page in the first tile position on the built-in new tab page. See: Customize your Firefox New Tab page.

Or if you display the Bookmarks Toolbar you can bookmark your local page on the bar and Ctrl+click or middle-click the bookmark to launch it in a new tab.

Hopefully one of those will tide you over until someone comes up with a better way.

more options

Thanks, it's a shame it's not really possible to have this functionality in the newer Firefox versions. Hopefully some day they'll add it back in

more options

This still works for me with a mozilla.cfg auto configuration file to set the new tab page.

//
var newTabURL = "chrome://browser/content/bookmarks/bookmarksPanel.xul";
Cu.import("resource:///modules/NewTabURL.jsm");
NewTabURL.override(newTabURL);

You can use the mozilla.cfg file in the Firefox program folder to set or lock preferences and run privileged JavaScript code.

The mozilla.cfg file needs to be in the main Firefox program folder.

This requires a local-settings.js file in the "defaults/pref" folder where the channel-prefs.js file is located that specifies to use mozilla.cfg.

pref("general.config.filename", "mozilla.cfg");
pref("general.config.obscure_value", 0);

The mozilla.cfg file and possibly local-settings.js need to start with a comment line (//).

See Configuration:

See also:

more options

Thanks, I'll give that a try