Is there any way to modify chrome tabs to remove the button that closes the tab?
I’ve read through chrome develope tab. but I don’t see any mention of the close button.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Not possible at the moment without forking the whole chromium project. See bug report #50913 (Status:
WontFix).Possible workarounds:
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.Have a look at the same question on SuperUser: How to disable the close (X) button on Google Chrome tabs?.
Maybe you like to look at the source code of Chromium and fix this? I think you have to start here:
tab.cc.