Cursor rule Cursor
ALWAYS use WindowsManager for creating and managing browser windows.
DuckDuckGo iOS & macOS browsers
This repository also configures its own agents. See what apple-browsers tells them →
Cursor rule Cursor
ALWAYS use WindowsManager for creating and managing browser windows.
Cursor rule Cursor needs its repo
Maestro tests can run on either iPhone or iPad simulators based on tags in the test YAML files. This allows you to test iPad-specific UI layouts and features while maintaining a single test suite.
Cursor rule Cursor
NetworkQualityMonitor uses a browser-optimized scoring algorithm that prioritizes latency and consistency over raw bandwidth. The scoring is weighted as follows.
Cursor rule Cursor
The NetworkQualityMonitor uses carefully tuned parameters to balance speed and accuracy for browser performance testing.
Cursor rule Cursor
The NetworkQualityMonitor is a comprehensive network quality testing framework designed for the DuckDuckGo Privacy Browser. It provides pre-flight network connectivity and performance checks to ensure optimal browser performance.
Cursor rule Cursor
NetworkQualityMonitor displays variance in milliseconds (user-friendly) but scores using Coefficient of Variation (CV) internally. This provides fair comparison across different latency ranges.
Cursor rule Cursor
// Use weak/unowned references appropriately class ViewController: UIViewController { private var timer: Timer?
Cursor rule Cursor
Rules for creating and maintaining pixel definition JSON5 files that document pixels fired by the iOS and macOS apps.
Cursor rule Cursor
How to define, name, and fire pixels on iOS and macOS.
Cursor rule Cursor
Cursor rule "privacy-security" from duckduckgo/apple-browsers, covering privacy & security guidelines, core principles, privacy by design, secure storage and data handling.
Cursor rule Cursor
DuckDuckGo.xcworkspace/ # Main workspace (ALWAYS open this) ├── iOS/ # iOS app target ├── macOS/ # macOS app target ├── SharedPackages/ # Cross-platform Swift packages ├── fastlane/ # CI/CD automation └── README.md # Main project documentation.
Cursor rule Cursor
PR, pull request, commit, push, git push, gh pr create, open PR, create PR, reviewer, Asana task, merge, GitHub.
Cursor rule Cursor
These guidelines encapsulate vital information for using SecureVault in our application. SecureVault is our secure storage system built on GRDB with SQLCipher encryption, providing a layered security approach for sensitive data.
Cursor rule Cursor
SharedPackages/ ├── FeatureName/ │ ├── Package.swift │ ├── README.md │ ├── Sources/ │ │ └── FeatureName/ │ │ ├── Public/ # Public API │ │ ├── Internal/ # Internal implementation │ │ └── Resources/ # Assets and resources │ └── Tests/ │ └── FeatureNameTests/ │ └── FeatureTests.swift.
Cursor rule Cursor
DuckDuckGo's subscription system provides access to premium features including VPN (Network Protection), Personal Information Removal (PIR), Identity Theft Restoration (ITR), and AI Chat. The system supports multiple purchase platforms and cross-platform activation.
Cursor rule Cursor
Create reusable ViewModifiers for common styling.
Cursor rule Cursor
Cursor rule "swiftui-style" from duckduckgo/apple-browsers, covering view structure, view organization, design system integration, required: use designresourceskit colors and required: use designresourceskit icons.
Cursor rule Cursor
Use the KVO pattern with KeyValueStore for all new persistent settings.
Cursor rule Cursor
Cursor rule "webkit-browser" from duckduckgo/apple-browsers, covering webkit & browser development guidelines, webview configuration, basic webview setup, user scripts management and tab management.
At most 3 mods per repository are shown here, and a mod shipped inside a plugin is left to that plugin's page — the rest are on their repository pages: