A simple browser tool changes file's icon on GitHub, GitLab, gitea and gogs.
File Icons for GitHub and GitLab Extension
On GitHub, no matter what kind of file is, their icons are all same. However, in your fancy editor, there are some packages which give every filetype an unique icon.
Therefore, I build a simple extension to replace original file icon with filetype-specific icons. This improves visual recognition on GitHub, GitLab, etc.
Hope you like it!
**This extension is not a project of GitHub or any company**
Read more
Therefore, I build a simple extension to replace original file icon with filetype-specific icons. This improves visual recognition on GitHub, GitLab, etc.
Hope you like it!
**This extension is not a project of GitHub or any company**
Source Manifest.json
{
"update_url": "https://clients2.google.com/service/update2/crx",
"description":"A simple browser tool changes file's icon on GitHub, GitLab, gitea and gogs.",
"version":"1.5.2",
"manifest_version":2,
"name":"File Icons for GitHub and GitLab",
"author":"homerchen19",
"homepage_url":"https://github.com/homerchen19/github-file-icons",
"background":{"scripts":["background.bundle.js"],
"persistent":false},
"content_scripts":[{"matches":["https://github.com/*",
"https://gitlab.com/*",
"https://*.gogs.io/*",
"https://*.gitea.io/*"],
"js":["content.bundle.js"],
"css":["content.css"],
"run_at":"document_start"}],
"icons":{"16":"img/icon-16.png",
"64":"img/icon-64.png",
"128":"img/icon-128.png"},
"browser_action":{"default_icon":"img/icon-64.png"},
"content_security_policy":"script-src 'self'; object-src 'self'",
"web_accessible_resources":["*.woff2"],
"permissions":["contextMenus",
"storage",
"activeTab",
"https://github.com/*",
"https://gitlab.com/*",
"https://*.gogs.io/*",
"https://*.gitea.io/*"],
"optional_permissions":["http://*/*",
"https://*/*"]}
Read more
"update_url": "https://clients2.google.com/service/update2/crx",
"description":"A simple browser tool changes file's icon on GitHub, GitLab, gitea and gogs.",
"version":"1.5.2",
"manifest_version":2,
"name":"File Icons for GitHub and GitLab",
"author":"homerchen19",
"homepage_url":"https://github.com/homerchen19/github-file-icons",
"background":{"scripts":["background.bundle.js"],
"persistent":false},
"content_scripts":[{"matches":["https://github.com/*",
"https://gitlab.com/*",
"https://*.gogs.io/*",
"https://*.gitea.io/*"],
"js":["content.bundle.js"],
"css":["content.css"],
"run_at":"document_start"}],
"icons":{"16":"img/icon-16.png",
"64":"img/icon-64.png",
"128":"img/icon-128.png"},
"browser_action":{"default_icon":"img/icon-64.png"},
"content_security_policy":"script-src 'self'; object-src 'self'",
"web_accessible_resources":["*.woff2"],
"permissions":["contextMenus",
"storage",
"activeTab",
"https://github.com/*",
"https://gitlab.com/*",
"https://*.gogs.io/*",
"https://*.gitea.io/*"],
"optional_permissions":["http://*/*",
"https://*/*"]}