Is there a bash/shell script I could make to kill all ads in a application, e.g. Mobile Safari?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Mobile Safari does not have an API that you can access with bash or sh, so not directly.
Assuming that UNIX tools are acceptable you could (in theory) write a server using bash and nc.
This server could act as a proxy server and filter out adverts on the way through.
You can then configure mobile safari to use it.
This would, of course, require that the proxy be exposed on whatever network you were using mobile safari on.