4 ms·
Would love to see a Firefox port.
by walden42 12y ago
Would love to see a Firefox port.
- Spittie 12y agoIt doesn't seems to be using any Chrome api, so porting it to the Firefox SDK should be a trivial matter. See https://gist.github.com/Spittie/93adf218040d470abd40 https://gist.github.com/Spittie/93adf218040d470abd40 (http://81.4.126.121/i/1400019350.png http://81.4.126.121/i/1400019350.png), probably the hardest part is "fixing" the css if it's using some only webkit- feature. Also I'm not sure if it's possible to load local images withing the page-mod api, but embedding them as base64 images is easy enough. EDIT: oh well, Enjoy: https://github.com/Spittie/octotree https://github.com/Spittie/octotree No pull-requests because I've moved pretty much everything to make it working. The right way would probably be to use some build system, but who has time for that? :)
- yblu 12y agoWow, that's fast, thanks a lot. Let me see if I can roll out a build script and merge your code (as well as the Safari fork made by another person).
- Spittie 12y agoIf you do, that would be awesome, considering that I'm too lazy to maintain the firefox version for a lot of time :) Not that I did change a lot of stuff, but with everything in a different folder I can't just git pull from your repository. And thanks for the great extension!
- yblu 12y agoDone. I've added a build script to generate structures for Chrome, Firefox and Safari. The prebuilt packages for Firefox and Safari are here: https://github.com/buunguyen/octotree/tree/master/dist https://github.com/buunguyen/octotree/tree/master/dist. Thanks again for the direction.
- Spittie 12y agoThat was fast! I can't edit my old comment, but I've changed the readme to point to your repository. When this thread die, I'll delete it.
- walden42 12y agoThanks a lot for this!
- vinhnx 12y agoI was also looking for a port for Firefox as well, since I've been switching to it for a while now. Thanks a lot!
- narsil 12y agoWorks like a charm. Nice touch encoding the images (https://github.com/Spittie/octotree/commit/e41b1c5b6734bf613fd8abff3760b00fd66cb1a0 https://github.com/Spittie/octotree/commit/e41b1c5b6734bf613...)