A lightweight, in-browser developer console designed specifically for mobile web development and debugging. No installation required – just add a bookmarklet and debug any website on your mobile device!
- Execute JavaScript code directly in the browser
- View console logs (log, error, warn, info) with color-coded badges
- Filter logs by type (All, Log, Error, Warn, Info) or search by text
- Command history navigation with ↑/↓ arrow keys
- Auto-completion for JavaScript keywords, methods, and properties (Tab key)
- Export logs as JSON for sharing or debugging
- Copy individual log entries to clipboard
- Clear console with one click
- View the complete HTML structure of the current page
- Copy the entire HTML to clipboard
- Clean output excludes the dev console itself
- Monitor all Fetch and XMLHttpRequest network requests
- View request/response details including headers and body
- Filter requests by URL or method
- Color-coded status indicators (success, redirect, error)
- Track request timing
- Inspect localStorage and sessionStorage
- View, copy, and delete individual storage items
- Switch between storage types with tabs
- JSON values are automatically formatted
- View all cookies for the current domain
- Filter cookies by name or value
- Add, edit, and delete individual cookies
- Clear all cookies with one click
- Automatic JSON formatting for cookie values
- Device Info: User agent, platform, language, screen size, viewport, orientation
- Performance Metrics: Page load time, DOM ready, first paint, DNS lookup, TCP connection, response time
- About: Version info and project links
- 🎨 Theme Toggle: Switch between light and dark modes (auto-detects system preference)
- 📐 Resizable: Drag the top handle to resize the console height
- ➖ Minimize: Collapse the console to a minimal navigation bar
- 🍪 Quick Actions: Clear cookies, clear storage, reload page
| Shortcut | Action |
|---|---|
Escape |
Minimize console |
Ctrl/Cmd + K |
Clear console |
Ctrl/Cmd + Shift + C |
Toggle console visibility |
Ctrl/Cmd + Shift + E |
Export logs |
Tab |
Autocomplete suggestions (in console input) |
↑/↓ |
Navigate command history / autocomplete |
- Create a new bookmark in your browser
- Name it "Mobile Console" (or any name you prefer)
- Paste the following code as the URL:
javascript:(function(){var script=document.createElement('script');script.src='https://raw.githack.com/OshekharO/Mobile-Console/main/main.js';document.body.appendChild(script);})();- Save the bookmark
- Navigate to any website and tap/click the bookmarklet to launch the console
Note: The bookmarklet loads the script from GitHub via raw.githack.com CDN. For security-sensitive environments, consider self-hosting the
main.jsfile.
- Use ↑ and ↓ arrow keys to navigate through command history
- Press Tab to show autocomplete suggestions while typing JavaScript
- Drag the handle at the top of the console to resize
- Click the minimize button (−) to collapse the console
- Click the theme toggle (◐) to switch between light and dark modes
- Use the Export button to save logs for later analysis or sharing
The console automatically detects and adapts to your system's light or dark color scheme. You can also manually toggle the theme using the theme button in the navigation bar.
For advanced customization, you can modify the CSS variables in the getThemeVars function within main.js.
If you prefer other mobile debugging tools, here are some popular alternatives:
javascript:(function() {
var script = document.createElement('script');
script.src = "https://unpkg.com/vconsole@latest/dist/vconsole.min.js";
document.body.appendChild(script);
script.onload = function() {
var vConsole = new window.VConsole();
};
})();javascript:(function () { var script = document.createElement('script'); script.src="https://cdn.jsdelivr.net/npm/[email protected]/eruda.min.js"; document.body.append(script); script.onload = function () { eruda.init(); } })();Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the GNU General Public License v3.0 - see the LICENSE file for details.