Use this extension to view git files with tab size specified
Github Tab Size Manager Extension
Change tab size (from options menu) while viewing code on github.com or gist.github.com
Read more
Source Manifest.json
{"update_url": "https://clients2.google.com/service/update2/crx", "name": "Github Tab Size Manager", "version": "1.5", "manifest_version": 2, "icons": { "128": "images/icon.png" }, "options_page": "options.html", "description": "Use this extension to view git files with tab size specified", "permissions": [ "storage", "*://gist.github.com/*", "*://github.com/*", "tabs", "webNavigation" ], "content_scripts": [{ "matches": ["*://github.com/*", "*://gist.github.com/*"], "js": ["js/jquery-3.1.1.min.js", "js/content.js"] }], "background": { "scripts": ["js/background.js"] }, "content_security_policy": "script-src 'self' https://www.google-analytics.com; object-src 'self'"}
Read more