-
Notifications
You must be signed in to change notification settings - Fork 280
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Safari on iOS #99
Comments
Thanks for your contribution. Can't wait to use it. :) |
And if you need to get control of the macOS app for some reason, please let me know and I will transfer it to you any time. 🙏 |
@HoneyLuka I will contact you here when I implement support for Safari on iOS 15. |
add initial support for the modern version of SERP for Chrome and Safari re: #99
iOS/iPadOS 15 will be released on Sep 20! I pushed a commit (9299d45) which added initial support for Safari 15 on iOS. I will add support for more types of search results later. @HoneyLuka Could you please publish "uBlacklist for Safari" for iOS/iPadOS after iOS/iPadOS 15 are released and you think this extension supports them sufficiently? |
@iorate Thanks for your work🎉, I think it's fine for a first release on iOS. I am now starting to work on the iOS version release preparation |
@HoneyLuka Thank you. I'm looking forward to it. |
The build system was upgraded for faster builds using esbuild-loader. # Install dependencies
- yarn install --frozen-lockfile
+ yarn install --immutable
# Build
- yarn build:safari:production
+ yarn build safari production cc: @HoneyLuka |
@iorate Thank you for the tips. I will use it tomorrow. iOS version almost done. When I finished, I will tell you here. |
@iorate When I debug on iPad, I found an UI issue. |
An alternative to browser.identity.launchWebAuthFlow is implemented. The redirect URL is 'https://iorate.github.io/ublacklist/callback'. Because Safari on iOS 15 seems not to support browser.tabs.onUpdate (and browser.tabs.onRemoved) currently, we cannot detect authentication completion and read the authorization code automatically. Users need to copy and paste the authorization code manually. re #99
@HoneyLuka Thank you for reporting an issue. Does the latest commit (017bf78) fix the problem? |
@iorate I merged your master branch, It's OK👍 |
@HoneyLuka I'm glad to hear that. I would appreciate if you could also check the sync feature that I added a bit before (3fb1257). Because Safari on iOS lacks some APIs, users need to copy authorization codes from iorate.github.io manually. |
@iorate ok, I will try it later, if any questions I will report to you. |
@iorate I create a test dropbox app, set it's callback url to Most functions are working. Only a little problem: After sync finished, Appearance, Subscription module do not refresh automatically. Rules textarea show a tips 'updated Reload'. Maybe reload the whole options page automatically after sync? |
@HoneyLuka Thank you for your feedback.
I don't like automatic reload so much, so added a manual-reload button. |
@iorate I have completed the development of the iOS version, and ready for app store review, the first version is reviewing for external test(TestFlight External Test). If you want to build yourself, you can get code from my branch. Should I submit the current release to app store or waiting for your next tag and rebuild a new release ? |
@HoneyLuka Great! Would you please bulid the current (As a side note, v6.4.0 will not be released for Chrome & Firefox. v6.3.6 is still under review by Chrome Web Store...) |
@iorate ok, I will rebuild as 6.4.0 later. |
I added v6.4.1 (and perhaps will add more) because v6.3.6 is rejected by Chrome Web Store. |
@HoneyLuka 🤣已经在等了。 |
Welcome to be the first user of iOS version🎉 |
@iorate @cyshallchan iOS version is online🎉 Link |
@iorate @HoneyLuka Already used, thank you two very much. |
@HoneyLuka |
We should add support for:
|
@iorate I think this bug is very similar to native app. Because Safari is also a native app, when it is in the background, the activity of the extension is suspended due to battery life considerations |
@HoneyLuka However, I have met some different situations:
I don't understand the behavior of Safari... |
@iorate If this is indeed a bug, I'm thinking of a solution. Summary Steps:
|
@HoneyLuka |
I've been trying the |
@iorate Glad it works. Thank your for your hard work. |
I believe it works. |
@iorate Thank you🎉, I will submit it to app store right now. |
iOS 6.6.0 is online now. |
@HoneyLuka |
Is it possible to use CloudKit to synchronize data? |
I haven't look this part yet. Usually Apple's services are only available on Apple devices. |
Image, news and video search support is available in v6.7.0. cc: @HoneyLuka |
@HoneyLuka The screenshots and captions seem to mismatch in the iPad app. |
It seems a bug, I will fix it later and release 6.7.0 |
iOS 6.7.0 is online🎉 |
@HoneyLuka thanks! |
I'm closing this issue because I think basic support for iOS is already done. |
Update (Sep 25, 2022)
uBlacklist is now available on iOS/iPadOS 15 thanks to @HoneyLuka !
https://apps.apple.com/us/app/ublacklist-for-safari/id1547912640
TODO:
Apple has announced that iOS 15 will support Safari Web Extensions.
https://developer.apple.com/videos/play/wwdc2021/10104/
Thanks to @HoneyLuka, uBlacklist is already available as a Safari Web Extension on macOS.
I'd like to add support for Safari on iOS because I'm an iPhone and iPad user.
The text was updated successfully, but these errors were encountered: