On an iPhone or iPad
Chrome on a phone can't load extensions, but Safari can, from inside a small app.
- 1
Build it on a Mac
With Xcode and Node.js installed, run these in Terminal. The last one makes an Xcode project in the
iosfolder.git clone https://github.com/prabhjotsinghchadha/code-scout cd code-scout npm install npm run ios
- 2
Put it on your phone
Open
ios/Code Scout/Code Scout.xcodeproj. Under Signing & Capabilities, pick your team for both targets. Plug in the phone, pick it at the top of the window and press Run.The first time, the phone asks you to turn on Developer Mode (Settings › Privacy & Security) and to trust your Apple ID (Settings › General › VPN & Device Management).
- 3
Switch it on in Safari
On the phone, open Settings › Apps › Safari › Extensions › Code Scout. Switch it on, and set All Websites to Allow. Without that, Safari asks one site at a time, and video details, searches and subtitle files can't be fetched.
With a free Apple ID the app stops opening after 7 days: press Run in Xcode again, and your favourites and settings stay. To update, pull the newest source, run npm run ios and press Run again.
Using it on the phone
- The popup
- In Safari's page menu, the button at the left of the address bar: tap Code Scout for your favourites, recent codes, links and the switches for the site you're on.
- Codes on a page
- The same ▶ buttons, and typing one into a box shows the same chip. Tap either to open the trailer in a new tab.
- The video toolbar
- Shows while a video is paused. While it plays, tap the video to bring it back for a few seconds.
- Download
- Saves the video inside Safari first, then Safari asks to download the file; it lands in Files › Downloads. Keep the tab open until then.
- Faster loading and quality
- On sites whose player is hls.js. Videos Safari plays by itself get speed, subtitles and download.
- Not on iPhone
- English subtitles read from the picture, the right-click menu, keyboard shortcuts, hiding, the proxy and the bookmarks copy of favourites. Settings → Backup still saves everything to a file.