Skip to content

slikts/normaltabs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Normal Tab Size

Chrome extension with a user stylesheet that applies a single rule to the root element:

html {
  tab-size: 2;
}

This fixes the default tab-size value being 8, which is too large for most types of code.

Security

A global user stylesheet requires global content permissions, so it's a good security practice to avoid extension like this unless they're from reputable vendors. Possible workarounds are:

  • Making your own extension (like I've done here), but hosting it in the Chrome Web Store requires a developer account
  • Loading an unpacked extension after enabling Developer mode in about:extensions, but this will cause Chrome to nag about it on startup

Configuration

It's a static stylesheet, so there's no configuration, and hopefully also no impact on performance.

Installation

Install the extension from Chrome Web Store or load it unpacked.

License

MIT

About

Chrome extension to set the default tab-size CSS property to 2 in every page

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages