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

A crude, but working, background.js for macOS and iOS #15

Open
juneoh opened this issue Feb 22, 2022 · 0 comments
Open

A crude, but working, background.js for macOS and iOS #15

juneoh opened this issue Feb 22, 2022 · 0 comments

Comments

@juneoh
Copy link

juneoh commented Feb 22, 2022

As Apple does not allow webRequest on iOS, this is a hacky workaround using webNavigation.

Requires webNavigation and activeTab permissions in the manifest.

https://gist.github.com/juneoh/c027d06bf91a945364df317c34151d8b

For those who want to cook your own extension in the meantime, I found the below post to be helpful.

https://dev.to/ajones_codes/how-i-made-an-ios-15-safari-extension-to-get-rid-of-annoying-reddit-open-in-app-pop-ups-559p

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

No branches or pull requests

1 participant