Any way to remove the X button from chrome tabs?

Is there a way to change the chrome tabs to remove the button that closes the tab?

I read the Chrome tab Chrome . but I don’t see mention of the close button.

+58
google-chrome-extension
Aug 09 '12 at 17:44
source share
4 answers

Impossible at the moment without using the entire chrome project. See bug report # 50913 (Status: WontFix ).

Possible workarounds:

  • If you right-click on a tab, you can Pin Tab . This will remove the close button, but you can still close it with ctrl + w . Unfortunately, this will also remove the window title.
  • The close button is removed if the tab width is very small.

See the same question on SuperUser: How do I disable the close (X) button on Google Chrome tabs? .

Perhaps you like to look at the source code of Chromium and fix it? I think you should start here: tab.cc

+23
Feb 06 '13 at 16:28
source share

Edit: The fix below worked only between Chrome versions 69 and 71.

Now it's possible for inactive tabs!

I had a lot of problems when trying to switch a tab when 10-15 of them are open, accidentally closing some important tab with a lot of typed text that cannot be restored using Ctrl + Shift + T

Here's how to do it:

1) Open the Google Chrome browser and enter the following text into the address bar:

 chrome://flags/#close-buttons-inactive-tabs 

The flags page with the appropriate settings will open.

2) Set a parameter called Close buttons on inactive tabs. Set the value to Disabled using the drop-down list next to the flag name.

2

3) Restart Google Chrome by closing it manually, or you can also use the "Restart" button that appears at the very bottom of the page.

3

4) The close buttons will disappear from the inactive tabs.

Before:

Before

After:

After

It!

Source - https://winaero.com/blog/remove-close-buttons-inactive-tabs-google-chrome/

+2
Dec 25 '18 at 10:16
source share

Now there are alternative Chromium-based browsers that offer this - I really like Vivaldi , where not showing the X button is just one of many customization options. In addition, since it is based on Chromium, you can install and use any Chrome extension. This is great if you have a lot of tabs open and you need more features for advanced users.

0
May 16 '19 at 9:45
source share

No, this is impossible, and it is unlikely to happen in the future.

Although there are other ways to close tabs (middle click, keyboard shortcuts), these are invisible options for inexperienced users. Providing extensions to remove the only visible way to close a tab is dangerous. This opens the door to obvious abuses by malicious developers.

Edit: Designed by what I meant. I agree with all of you that I would like to remove them, because I am an experienced user and do not need them. But I also understand why they are there, and why it would be dangerous to give third parties control over this. Chrome is not just for you. This is also for your grandparents.

-27
Aug 09 '12 at 17:47
source share



All Articles