homerchen19 / github-file-icons

🌈 🗂 A browser extension which gives different filetypes different icons to GitHub, GitLab, gitea and gogs.
https://chrome.google.com/webstore/detail/file-icon-for-github-and/ficfmibkjjnpogdcfhfokmihanoldbfe
MIT License
1.41k stars 67 forks source link

Support new Github UI #134

Closed kiendang closed 1 year ago

kiendang commented 1 year ago

Fix #133. Only tested on Chrome coz I haven't figure out how to install this extension from local files on Firefox.

Screenshot 2022-11-14 at 12 07 08 PM
gamemaker1 commented 1 year ago

You can run it from local files on Firefox by going to about:debugging > This Firefox > Load Temporary Add On, then selecting the manifest.json file:

image

Note that the background.js and other files needed for the extension to work, need to be in the same folder as the manifest.json file, maybe by using the copy plugin in webpack or something similar :)

kiendang commented 1 year ago

Thanks. GitHub just updated the UI a tiny bit so I force-pushed a new commit to adapt to that. Tested with both Chrome and Firefox.

dev99problems commented 1 year ago

@kiendang many kudos for shipping this, this is so cool 👏

I use Brave browser on daily basis and even though I installed the latest 1.4.0 version I still can not make it work with new GitHub UI. Maybe I forgot to reset some extension cache or anything like that? Would be thankful for any piece of advice if you have any on your mind. image

kiendang commented 1 year ago

Hi I just check my browser (firefox) and looks like it doesn't work anymore. Will try to debug this in the coming days when I have time.

dev99problems commented 1 year ago

Got it, thanks a lot

kiendang commented 1 year ago

@dev99problems just added a new commit in #138 to fix this. You can checkout my fork and install manually in the meantime.

dev99problems commented 1 year ago

@kiendang sending many kudos 👏