https://github.com/haithamaouati/eruda
Eruda — Console for Mobile Browsers
https://github.com/haithamaouati/eruda
broswer console element eruda inspect javascript mobile script userscript via
Last synced: 29 days ago
JSON representation
Eruda — Console for Mobile Browsers
- Host: GitHub
- URL: https://github.com/haithamaouati/eruda
- Owner: haithamaouati
- Created: 2024-04-10T03:00:15.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-10T03:17:52.000Z (about 2 years ago)
- Last Synced: 2025-01-03T16:16:08.140Z (over 1 year ago)
- Topics: broswer, console, element, eruda, inspect, javascript, mobile, script, userscript, via
- Language: JavaScript
- Homepage: https://eruda.liriliri.io/
- Size: 306 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Eruda
**Eruda** Console for Mobile Browsers.

## Demo
Browse it on your phone: https://eruda.liriliri.io/
Usage Instructions for [Via](https://viayoo.com/en/) Browser
1. Open Via Browser.
2. Navigate to `Settings` > `Scripts`.
3. Enable `Enable scripts`.
4. Click `+` > `New Script`.
5. Paste the code provided below and save.
Usage Instructions for [Soul](https://play.google.com/store/apps/details?id=com.mycompany.app.soulbrowser&hl=en) Browser
1. Open Soul Browser.
2. Navigate to `Settings` > `Web content`.
3. Enable `Use UserScript` > `UserScript list`.
4. Click `+` > `Direct input`.
5. Paste the code provided below and save.
> [!TIP]
> Upon visiting any website, a semi-transparent `gear` icon will appear in the bottom corner; tap it to access the Console, Elements, Network, and Resource tabs.
###### Userscript
```javascript
// ==UserScript==
// @name Eruda
// @namespace https://eruda.liriliri.io/
// @version 1.0
// @description Console for mobile browsers
// @author Haitham Aouati
// @run-at document-end
// @match *://*/*
// @grant none
// ==/UserScript==
(function() {
'use strict';
/**
* Injects the Eruda library and initializes the console.
*/
function initEruda() {
const script = document.createElement('script');
script.src = 'https://cdn.jsdelivr.net/npm/eruda';
script.onload = function () {
eruda.init();
};
document.head.appendChild(script);
}
// Execution check to avoid multiple instances
if (window.top === window.self) {
initEruda();
}
})();
```
Import script from URL:
```
https://raw.githubusercontent.com/haithamaouati/Eruda/refs/heads/main/Eruda.js
```
## Star History
[](https://www.star-history.com/#haithamaouati/Eruda&type=date&legend=top-left)