URL Scheme Guide
Croc24 supports URL schemes that allow you to integrate the app with other applications or use shortcuts to quickly access specific features. This guide explains all available URL schemes and how to use them.
What is a URL Scheme?
A URL scheme allows you to open Croc24 directly to specific features or with pre-configured parameters. You can use these URLs in shortcuts, other apps, or web links to streamline your workflow.
Supported URL Formats
1. Calculation Mode
croc24://calculation?numbers=1,2,3,4&target=24
Opens the calculation page with pre-filled numbers and an optional target value.
- numbers: Four comma-separated numbers (1-13)
- target: The target number (default: 24)
Note: Using a target other than 24 requires Premium access.
Examples:
croc24://calculation?numbers=3,3,8,8
Opens with numbers 3, 3, 8, 8 and target 24
croc24://calculation?numbers=4,5,6,7&target=30
Opens with numbers 4, 5, 6, 7 and target 30 (Premium)
2. Challenge Mode
croc24://challenge
croc24://challenge?new=true
croc24://challenge/new
Opens the challenge page, optionally starting a new challenge immediately.
- new=true: Automatically starts a new challenge
- /new: Alternative syntax to start a new challenge
3. History
croc24://history
croc24://history?tab=calculation
croc24://history?tab=challenge
Opens the history page, optionally selecting a specific tab.
- tab=calculation: Shows calculation history
- tab=challenge: Shows challenge history
How to Use URL Schemes
In Shortcuts App
- Open the Shortcuts app
- Create a new shortcut
- Add the "Open URLs" action
- Enter your desired Croc24 URL
- Save and run the shortcut
From Other Apps
Many apps support opening custom URLs. Simply use any of the URL formats above where URLs are accepted.
From Safari or Web Pages
You can create links on web pages that open Croc24 directly:
<a href="croc24://calculation?numbers=1,2,3,4">Open in Croc24</a>
Important Notes
- Numbers must be between 1 and 13
- Exactly 4 numbers are required for calculation mode
- Target numbers other than 24 require Premium access
- Invalid parameters will be ignored