Completely prevent iOS web app from opening link in mobile Safari, even with links containing parameters
问题 I have found multiple solutions to prevent an iOS web app from opening normal links in mobile Safari, unfortunately they do not work for links containing parameters, e.g. href="index.php?s=example" These are still opened in mobile Safari. The shortest solution for normal links I have found thus far can be found here at stackoverflow. Maybe someone can modify that script? 回答1: Try 4 years old github gist. I used it and it works. You can use it by bower: bower install --save iosweblinks May be