karakanb / devo

A Chrome and Firefox extension that displays GitHub Trending, Hacker News, Product Hunt and Designer News on every new tab.
https://burakkarakan.com/devo/
MIT License
406 stars 47 forks source link

Converting Devo for Safari (WIP) #38

Closed crock closed 4 years ago

crock commented 4 years ago

Apple has released a small cli utility in macOS 11 Big Sur developer beta to convert existing Chrome and Firefox extensions to Safari 14. Just point it at Devo's public directory.

xcrun safari-web-extension-converter public

However, it appears like Safari doesn't support setting a custom new tab page, which makes this rather pointless in it's current form. Maybe you have some ideas?

image
karakanb commented 4 years ago

Hey, thanks a lot for the idea and the experiment. I was thinking of playing with it as well, but I didn't know that Safari doesn't allow new tab extensions.

Regardless of whether it allows or not, I would rather make this generation a build-time operation rather than committing the files to the repository. While generating the WebExtension version, I'd also generate the Safari version locally. I'll consider doing this in the future if Apple allows new-tab extensions in Safari in an easy way.

For now, I'll be closing the PR, but feel free the keep the discussion going or re-open if you have a better implementation in mind.

Thanks again for the PR.