Skip to main content
Web Overrides let you control how your website is presented inside your app and how the app sends requests to your web server. With these options and the Median JavaScript Bridge, you can build an app experience on top of your existing web platform.

Custom user agent

Use a custom user agent to identify app traffic and differentiate it from web users. Useful when third-party services require a native app user agent.

Custom headers

Add custom HTTP headers to requests from your app to your web server. Pass device-specific or session-related data for smarter server-side logic.

Custom CSS

Apply custom CSS to change how your site looks in the app. Useful for hiding desktop-only elements like banners, footers, or navigation bars.

Custom JavaScript

Run extra logic when pages load in the app, change behavior, or hook into events.

Cookie persistence

Override cookie expiration from your web platform so session or preference data is kept across app sessions.

Customize web requests

Use a custom user agent to identify app traffic and work with services that expect a native app user agent. Add custom HTTP headers to send device or session information to your server and support smarter server-side behavior.

Overriding web content

Maintainability of mobile app overridesCSS or JavaScript injected via Web Overrides is applied globally to your whole web app inside the mobile app. That can make maintenance harder, since you need to republish the app to change override logic. For long-term maintainability, prefer implementing changes on the server and detecting in-app usage. See Detecting app usage for details.
Custom CSS lets you adjust layout and visibility in the app (for example, hiding desktop-only UI). Custom JavaScript lets you run extra logic on load, change behavior, or hook into events. Override cookie expiration settings from your web platform so session or preference data persists across app sessions.

Summary

Web Overrides and the Median JavaScript Bridge are the main tools for shaping how your website is shown in the app and how requests are sent. If you use a JavaScript framework such as React or Vue.js, install the median-js-bridge npm package to simplify web-to-app integration.
Last modified on November 7, 2026