zombieFox / nightTab

A neutral new tab page accented with a chosen colour. Customise the layout, style, background and bookmarks with nightTab.
https://zombiefox.github.io/nightTab/
GNU General Public License v3.0
1.74k stars 254 forks source link

[Suggestion] button to auto dissable chrome bookmarks in new tab #238

Closed Akorian closed 3 years ago

Akorian commented 3 years ago

Problem I am always frustrated when I see my chrome bookmarks bar in the new tab. In the new tab, I don't need them. But I can't just deactivate them since I use them on all other sites.

Idea for Solution I would like a button in the settings which if switched on, automatically hides the chrome bookmarks bar. But when you navigate into another tab, it activates the bookmark bar again.

My Attempt I wanted to code a greasy fork script to hide/unhide the bar depending on the tab title. But apparently, chrome doesn't allow scripts in stuff like the new tab.

Screenshots for further explanation https://imgur.com/a/hIjJAF4

zombieFox commented 3 years ago

Hi @Akorian

Thanks for providing a lot of details. I'm about 95% sure this is not possible with a chrome extension. It seems like it would be a security issue if an extension could control the visibility of the Bookmarks Bar.

I've also not been able to find any way to control the Bookmarks Bar on https://developer.chrome.com/docs/extensions/reference/bookmarks/

Sorry I don't believe this is possible, you may have to just hide the Bookmarks Bar via unticking View > Always show the Bookmarks Bar

Marcelx8 commented 3 years ago

Hi, I found a possible solution to remove the bookmarks bar permanently from outside Chrome. You would have to create a key in your Registry for this. Unfortunately, this removes the bookmarks always, until you remove the created key. So, even on your pages, you wish to see them you won't have them.

If you really would like to try it, I found an article with a guide on how to: https://www.askvg.com/tip-how-to-hide-bookmarks-bar-on-new-tab-page-in-google-chrome/

zombieFox commented 3 years ago

Thanks @Marcelx8 for finding that solution. Looks like it might be a Windows only solution, but still works.

Overall looks like we can't control the Bookmarks Bar with nightTab so I will have to close this issue.