为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Are there any tricks to getting a Chrome URL page as the new tab?

more options

The one and only website that I want as my new tab is a bit laggy and takes a while to load, probably because of CloudFlare.

And I'd like to have a huge page to see all of my bookmarks in, to make it easier to organize my bookmarks. Instead of using the bookmarks sidebar or the Library window.

So I thought why not combine the two things that I want? Make my new tab open up to the Chrome bookmarks page, and then if I want that laggy website it can be one of the top bookmarks listed. Or if I want to organize and see my other bookmarks instead, I can just ignore that top bookmark and focus on the other bookmarks.

Well my New Tab URL won't let me and it is a Firefox restriction so he couldn't add the feature even if he wanted to.

But surely there is a trick or workaround that might not involve extensions?

If so, please let me know.

I want chrome://browser/content/places/bookmarksSidebar.xhtml as my new tab page.

The extension was changing it to http://chrome://browser/content/places/bookmarksSidebar.xhtml which broke it.

The one and only website that I want as my new tab is a bit laggy and takes a while to load, probably because of CloudFlare. And I'd like to have a huge page to see all of my bookmarks in, to make it easier to organize my bookmarks. Instead of using the bookmarks sidebar or the Library window. So I thought why not combine the two things that I want? Make my new tab open up to the Chrome bookmarks page, and then if I want that laggy website it can be one of the top bookmarks listed. Or if I want to organize and see my other bookmarks instead, I can just ignore that top bookmark and focus on the other bookmarks. Well my New Tab URL won't let me and it is a Firefox restriction so he couldn't add the feature even if he wanted to. But surely there is a trick or workaround that might not involve extensions? If so, please let me know. I want chrome://browser/content/places/bookmarksSidebar.xhtml as my new tab page. The extension was changing it to http://chrome://browser/content/places/bookmarksSidebar.xhtml which broke it.

由gaveitatry于修改

被采纳的解决方案

jscher2000 said

I believe add-ons are limited to http: and https: addresses. There is a trick involving a special kind of startup file called an Autoconfig file. (There actually are two files involved in making it work.) You can see the rough outlines of the approach in this thread: https://support.mozilla.org/en-US/questions/1251199#answer-1199709 That code might need to be updated for Firefox 76: https://support.mozilla.org/questions/1283835


Okay, did some digging around. Found a good website that explained the location. Then I looked for similar location in Firefox Portable.


autoconfig.cfg goes here:

FirefoxPortable > App > firefox64


autoconfig.js goes here:

FirefoxPortable > App > defaults > pref


And it works!!!! Thank you so much jscher!!!! I'll try to remember the new workaround when 76.0 goes out.


ALL CREDIT AND APPRECIATION GOES TO JSCHER2000!!!

定位到答案原位置 👍 0

所有回复 (8)

more options

I believe add-ons are limited to http: and https: addresses.

There is a trick involving a special kind of startup file called an Autoconfig file. (There actually are two files involved in making it work.)

You can see the rough outlines of the approach in this thread:

https://support.mozilla.org/en-US/questions/1251199#answer-1199709

That code might need to be updated for Firefox 76:

https://support.mozilla.org/questions/1283835

more options

(snip)

由gaveitatry于修改

more options

jscher2000 said

I believe add-ons are limited to http: and https: addresses. There is a trick involving a special kind of startup file called an Autoconfig file. (There actually are two files involved in making it work.) You can see the rough outlines of the approach in this thread: https://support.mozilla.org/en-US/questions/1251199#answer-1199709 That code might need to be updated for Firefox 76: https://support.mozilla.org/questions/1283835


Thanks for the reply jscher2000. I want to give this a try, but I am using Firefox Portable and I'm not sure where those two autoconfig files go.

So far, I've tried

FirefoxPortable > Data > profile

FirefoxPortable > Data > profile > chrome

FirefoxPortable > App > firefox64

FirefoxPortable > App > firefox64 > browser.

由gaveitatry于修改

more options

选择的解决方案

jscher2000 said

I believe add-ons are limited to http: and https: addresses. There is a trick involving a special kind of startup file called an Autoconfig file. (There actually are two files involved in making it work.) You can see the rough outlines of the approach in this thread: https://support.mozilla.org/en-US/questions/1251199#answer-1199709 That code might need to be updated for Firefox 76: https://support.mozilla.org/questions/1283835


Okay, did some digging around. Found a good website that explained the location. Then I looked for similar location in Firefox Portable.


autoconfig.cfg goes here:

FirefoxPortable > App > firefox64


autoconfig.js goes here:

FirefoxPortable > App > defaults > pref


And it works!!!! Thank you so much jscher!!!! I'll try to remember the new workaround when 76.0 goes out.


ALL CREDIT AND APPRECIATION GOES TO JSCHER2000!!!

由gaveitatry于修改

more options

Hi gaveitatry, for the first file, can you find this folder:

[portable]\App\Firefox\defaults\pref

That seems like the equivalent of:

C:\Program Files\Mozilla Firefox\defaults\pref

The second file usually goes into the same folder as firefox.exe.

I think it's worth asking on the Portable forum if you don't get a solution here:

https://portableapps.com/forums/support/firefox_portable

more options

Sorry, when I say "the first file" I mean the one that points to the file with the actual code in it.

Ref. Customize Firefox using AutoConfig

more options

Actually, UPDATE:

I thought that this was the solution, but I ran into some problems. If I restart Firefox and then open up the new tab, it does go to the Chrome bookmarks page. It will let me drag bookmarks around too. But if I try to create a new bookmark there, it won't let me. And trying to create a new bookmark there will kinda break the page. It's also annoying because as soon as the new tab opens, the cursor is in the URL bar. On other websites, I actually prefer auto focus in URL bar. But not on the Chromes bookmarks page. So I guess I'll go back to just using a regular website for the new tab URL.

But maybe I'll try this again some other time, especially if I decide on another page besides Chrome bookmarks. In the future, I hope I figure out how to set the new tab title too.

Anyway, thank you.

EDIT: Turns out, it's a problem with the Chrome bookmarks page and nothing to do with this new tab URL workaround.

由gaveitatry于修改

more options

Yes, the bookmarks sidebar page doesn't have full functionality outside of the sidebar.

There is at least one extension that puts your bookmarks in the new tab, i.e., using the normal API for extensions to access bookmarks. I can't recall the name.

由jscher2000 - Support Volunteer于修改