Skip to content
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

Userscripts support for AdGuard iOS #1542

Open
3 tasks done
kaznovac opened this issue Apr 9, 2020 · 10 comments
Open
3 tasks done

Userscripts support for AdGuard iOS #1542

kaznovac opened this issue Apr 9, 2020 · 10 comments

Comments

@kaznovac
Copy link

kaznovac commented Apr 9, 2020

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Problem Description

I'd like to have Userscripts support on iOS devices the same as in the macOS version.

Proposed Solution

Implement support/management for Userscripts
https://developer.apple.com/documentation/webkit/wkusercontentcontroller/1538046-userscripts

Alternatives Considered

AdGuard has no noteworthy alternatives ;)

Additional Information

@SoLenny
Copy link
Contributor

SoLenny commented Apr 13, 2020

@kaznovac We theoretically can enable the user to run a user script by pressing a button. This way we run the assistant. But we have no way to run scripts automatically on every page. This API can only be used on a webview, which we open inside our program, but not in safari.
Therefore, at the moment we do not plan to add something like this.

@kaznovac
Copy link
Author

@SoLenny I like the suggested theoretical solution.
Thanks for the hint where to look at (if I by some chance find free time to implement this).

@rakleed
Copy link

rakleed commented Dec 23, 2021

@SoLenny @AleksandrShulgin @artemiv4nov @ameshkov with the release of iOS 15, support for the Web Extension API appeared. Can you think about implementing custom scripting support now?

@ameshkov
Copy link
Member

Yeah, now this is something that can be actually done.

@ameshkov
Copy link
Member

Although we should check with App Store policies, installing arbitrary userscripts may be against it.

@bradenglund
Copy link

Maybe consider supporting another open space project instead of integrating to adguard.

https://github.com/quoid/userscripts

there is also a non open source app currently present on the App Store
https://apps.apple.com/us/app/macaque/id1595306197

@michael1900
Copy link

michael1900 commented May 20, 2022

I am using Macaque, quoid's userscript still have this problem: quoid/userscripts#257
and so it's impossible with it to use aguard PopupBlocker script.

I think it's the time to integrate a script manager in ios app like on mac. Please!

@ghost
Copy link

ghost commented Aug 12, 2022

Further support added for Userscripts rules: quoid/userscripts#224

@bennett-zhang
Copy link

AdGuard supports userscripts (aka "extensions") on every platform including Mac, Android, and Windows. I don't see why it doesn't support this functionality on iOS, especially with the Web Extension API being 2 years old at this point. @SoLenny

@michael1900
Copy link

Any news on this?
This and the missing of a serious backup/sync icloud option are really a shame after so many years...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

8 participants