News for hackers. Stuff that matters.
Re:Apple brings Safari web browser extensions to iPhone and ... by ulfw on Tuesday June 08, 2021 @08:22AM (#27434165)
There are barely any useable Safari extensions even on desktop (Mac) Safari besides maybe content blockers and we already got those on iOS. The extensions I use are all on Firefox or Edge (Chromium).

Any examples of Safari Extensions you're looking for on iOS?

Re:Apple brings Safari web browser extensions to iPhone and ... by mrtksn on Tuesday June 08, 2021 @08:46AM (#27434406)
>Any examples of Safari Extensions you're looking for on iOS?

Ad-Guard: Works very well, including ability to block YouTube ads.

LastPass: A password manager, useful for cross platform password storing.

PiPifier: Enables PiP in any video player.

Tab Suspender: Suspends tabs after a period of inactivity. Helps with websites that tend to use resources in the backgroud.

Re:Apple brings Safari web browser extensions to iPhone and ... by v7p1Qbt1im on Tuesday June 08, 2021 @09:07AM (#27434640)
Many of these are already usable via other OS features:

Ad guard: download the app and integrate it as a content blocker in safari options. I’ve been using it for a long time. It offers a lot of features.

Password managers: can also be integrated in the OS itself by installing the app and set the config.

Re:Apple brings Safari web browser extensions to iPhone and ... by nindalf on Tuesday June 08, 2021 @09:06AM (#27434622)
I’m trying to understand why someone would install the last pass browser extension when they could install the last pass app. The app provides passwords in all contexts, not just the browser.
Re:Apple brings Safari web browser extensions to iPhone and ... by mrtksn on Tuesday June 08, 2021 @09:14AM (#27434710)
I don't use other contexts that require frequent sign-in procedure on my Mac.

To be honest, since I stopped using a Windows machine I almost completely switched to Apple's own keychain. That said, I still have the LastPass because it is easier to use for storing private data that does not strictly conforms to the "username and password" convention.

Re:Apple brings Safari web browser extensions to iPhone and ... by rovr138 on Tuesday June 08, 2021 @09:48AM (#27435158)
> The app provides passwords in all contexts, not just the browser.
Re:Apple brings Safari web browser extensions to iPhone and ... by mrtksn on Tuesday June 08, 2021 @09:52AM (#27435214)
I don't care what the app does, at some point the extension might have forced me to install it but I don't use it and don't care about it.
Re:Apple brings Safari web browser extensions to iPhone and ... by ihuman on Tuesday June 08, 2021 @09:43AM (#27435105)
Re:Apple brings Safari web browser extensions to iPhone and ... by mrtksn on Tuesday June 08, 2021 @09:56AM (#27435263)
Good to know but I do it with a script in the Shortcuts on iOS. The app seems to be working exactly the same as the script I use.

On my script and on the Pipifier, YouTube would stop playback when you lock the device but you can resume it through tapping the play button in the control center.

Re:Apple brings Safari web browser extensions to iPhone and ... by ballenf on Tuesday June 08, 2021 @08:54AM (#27434497)
Tamperish is tamper monkey for Safari and I love it for Safari on MacOS. Excited to see same website custom styling on phone too.

https://github.com/username0x0a/Tamperish

Since it needs local file access (to get the custom stylesheets), I'd guess it will need to be re-architected for iOS though.

Re:Apple brings Safari web browser extensions to iPhone and ... by Eric_WVGG on Tuesday June 08, 2021 @09:11AM (#27434678)
http://cascadea.app is a similar app for MacOS, I wouldn't be surprised if the author takes a crack at porting it.
Re:Apple brings Safari web browser extensions to iPhone and ... by mthoms on Tuesday June 08, 2021 @11:37AM (#27436568)
Tampermonkey itself works with desktop Safari now. It’s amazing.
Re:Apple brings Safari web browser extensions to iPhone and ... by gnicholas on Tuesday June 08, 2021 @12:38PM (#27437490)
I have three extensions on Chrome/Firefox that I briefly thought about porting to Safari. It didn't work out of the box, and very few people have ever requested this (most people who use extensions on desktop computers do not use Safari, though there are some).

But now that Safari mobile extensions are a thing, we are moving rapidly to make this happen. We have had a dedicated iOS app for years, but allowing people to access our functionality from within existing iOS apps has always been our goal.

I don't know how many other companies have been waiting in the wings, but I'm sure we're not the only one for whom this announcement is big news.

Re:Apple brings Safari web browser extensions to iPhone and ... by bberenberg on Tuesday June 08, 2021 @08:25AM (#27434197)
I am hoping this improves certain business tooling on mobile where their existing apps are subpar. For me specifically, I am thinking about HubSpot w/ Gmail.
Re:Apple brings Safari web browser extensions to iPhone and ... by tekstar on Tuesday June 08, 2021 @08:47AM (#27434419)
Would love to see WebMIDI, but I suspect the options are alternate browsers in the App Store that are WKWebView's implementing it as a shim, or it will have to be added by Apple. I don't think they're letting extensions actually see the DOM.
Re:Apple brings Safari web browser extensions to iPhone and ... by 01brett on Tuesday June 08, 2021 @09:01AM (#27434567)
StopTheMadness would be a great addition to iOS Safari.

https://lapcatsoftware.com/articles/StopTheMadness.html

Re:Apple brings Safari web browser extensions to iPhone and ... by Eric_WVGG on Tuesday June 08, 2021 @09:10AM (#27434663)
I'm going to write one that bypasses Google AMP pages in favor of the real thing.

Will probably also write one for personal use that bypasses basic paywalls and GDPR prompts.

I have traffic to most known Facebook servers blocked on my Mac hosts file, perhaps I can't get to hosts on iOS but an extension would be the next best thing.

Finally, there are a couple bookmarking websites like verygoods.co that rely on antiquated bookmarklets that no longer function with modern browser privacy settings, I'd like to try to reverse engineer a replacement, but I'm unsure if that's possible.

"barely any usable extensions on desktop safari" I'm quite fond of 1Password, Cascadea https://cascadea.app, and KeySearch http://www.macosxtips.co.uk/keysearch/.

Re:Apple brings Safari web browser extensions to iPhone and ... by jon-wood on Tuesday June 08, 2021 @09:38AM (#27435027)
> I have traffic to most known Facebook servers blocked on my Mac hosts file, perhaps I can't get to hosts on iOS but an extension would be the next best thing.

Content blockers can match on URL patterns, either for all only a subset of content types, and cause Safari to cancel any requests for those resources. https://developer.apple.com/documentation/safariservices/cre...

Re:Apple brings Safari web browser extensions to iPhone and ... by Eric_WVGG on Tuesday June 08, 2021 @10:27AM (#27435619)
Hm, I wasn't aware of that, I've only seen content blockers that provide kind of vague "block ads" checkmarks. I'll look into that, thank you.
Re:Apple brings Safari web browser extensions to iPhone and ... by alwillis on Wednesday June 09, 2021 @01:14AM (#27444452)
I’d like to have VisBug on iOS; already works on macOS: https://visbug.web.app/
Re:Apple brings Safari web browser extensions to iPhone and ... by Willamin on Tuesday June 08, 2021 @03:31PM (#27439701)
I'll be looking forward to Cascadea coming to iOS (hopefully).

https://cascadea.app

Re:Apple brings Safari web browser extensions to iPhone and ... by hcurtiss on Tuesday June 08, 2021 @08:39AM (#27434332)
Maybe a javascript blocker?
Re:Apple brings Safari web browser extensions to iPhone and ... by aaomidi on Tuesday June 08, 2021 @12:25PM (#27437301)
You can already disable JS
Re:Apple brings Safari web browser extensions to iPhone and ... by mthoms on Tuesday June 08, 2021 @11:35AM (#27436548)
Tampermonkey and Dark Reader are a couple.