NEW: Start my new Ultimate Portfolio App course with a free Hacking with Swift+ trial! >>

Project 19 JavaScript alerts not working

Forums > 100 Days of Swift

The goal of this project is to write mobile safari extension that allows you to run JavaScript scripts on a site you're currently on and as a test Pauls runs


That ought to show a pop up in Safari with current webpage name but when I try to do that – nothing happens. I tried this on my iPhone and in simulator. The only thing that happens in simulator is kinda strange. When you run this command you get a recommendation in a Dock with the website you were on in simulator, its like as if you were using your actual iPhone and browsing internet.


Hacking with Swift is sponsored by Stream

SPONSORED Check out Stream's cross-platform open source chat SDK on GitHub! Write once and deploy your app with fully featured chat UI on iOS and macOS.

Go to GitHub

Sponsor Hacking with Swift and reach the world's largest Swift community!

Reply to this topic…

You need to create an account or log in to reply.

All interactions here are governed by our code of conduct.

Unknown user

You are not logged in

Log in or create account

Link copied to your pasteboard.