A simple browser tool changes file's icon on GitHub, GitLab, gitea and gogs.

Latest Version

Version
1.5.2
Update
February 18, 2024
Size
460KiB
Developer
Category
Users
20,000+
Rating
4.875 ★
Manifest Version
2
Web Store Status
Languages Support
English
See more
Permissions
ContextMenus
Storage
ActiveTab
Https://github.com/*
Https://gitlab.com/*
Https://*.gogs.io/*
Https://*.gitea.io/*
See more

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

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