max-kamps / jpd-breader

MIT License
102 stars 28 forks source link

Safari Support #86

Open zachdaniel opened 3 months ago

zachdaniel commented 3 months ago

Hello!

I wanted to use this on my mobile devices (iPad, iOS) and my primary browser, safari, so I used safari's browser extension porting tool on this extension.

The work was done here in this commit: https://github.com/zachdaniel/jpd-breader/commit/f42ffb23ffd31e86c2afb310e806ee8e0a71f50c

I did a very bad job, my goal was just to follow the error message until it worked for me, and I know very little about extensions/js in general. You could ignore most changes except for the ones in the src folder I imagine, most of the rest is the Xcode project that houses the extension app and other changes.

Feel free to use those changes if you'd like to support safari here :)

zachdaniel commented 3 months ago

Using this in safari in ttsu reader has some jank I haven't been able to figure out. It stops working after some amount of pages and I have to reload. Still usable but not idea.