Original by liriliri, this is just a backup incase it ever goes down. And this repository has compiled plugin scripts. Everything in here but this message is from liriliri's readme.
Amazing mobile inspect element from a bookmark, made by liriliri.
You can use these bookmarks to access eruda any time with the click of a button.
javascript:(function () { var script = document.createElement('script'); script.src="https://cdn.jsdelivr.net/npm/eruda"; document.body.append(script); script.onload = function () { eruda.init(); } })();
Script Source: https://cdn.jsdelivr.net/npm/eruda
javascript:(function () { var script = document.createElement('script'); script.src="https://cdn.jsdelivr.net/gh/VallionXD/Eruda@main/eruda.js"; document.body.append(script); script.onload = function () { eruda.init(); } })();
Script Source: https://github.com/VallionXD/Eruda/blob/main/eruda.min.js
Installation guide for eruda.
How to install eruda from the npm package.
First, install the package from npm.
npm install eruda --save
Then you can add it to your webpage like so.
<script src="node_modules/eruda/eruda.js"></script>
<script>eruda.init();</script>
Adding configuration to eruda throug the init function
In the initialization, a configuration object can be passed in.
container
: Container element. If not set, it will append an element directly under html root element.tool
: Choose which default tools you want, by default all will be added.
For more information, please check the documentation.
let el = document.createElement('div');
document.body.appendChild(el);
eruda.init({
container: el,
tool: ['console', 'elements']
});
You can use the script below to choose which plugin to load.
javascript:(function () { var script = document.createElement('script'); script.src="https://cdn.jsdelivr.net/gh/VallionXD/Eruda@main/plugins/loader.js"; document.body.append(script); script.onload = function () { eruda.init(); } })();
List of all the official plugins for eruda.
Eruda Monitor Plugin
Display page fps and memory.
Eruda Features Plugin
Browser feature detections.
Eruda Timing Plugin
Show performance and resource timing.
Eruda Benchmark Plugin
Run JavaScript benchmarks.
Eruda Orientation Plugin
Test orientation api.
Eruda Touches Plugin
Visualize screen touches.
Some older plugins, that are still supported. These aren't mentioned on the official repository, although are by liriliri.
Eruda Dom Plugin
Eruda plugin for navigating dom tree.
Eruda FPS Plugin
Eruda plugin for displaying fps info.
If you want to create a plugin yourself, follow the guides here!
Plugins related to eruda mobile inspect.
eruda-android
: Simple webview with eruda loaded automatically. | Link to repositorychii
: Remote debugging tool. | Link to repositorychobitsu
: Chrome devtools protocol JavaScript implementation. | Link to repositorylicia
: Utility library used by eruda. | Link to repositoryluna
: UI components used by eruda. | Link to repositoryvivy
: Banner image generation. | Link to repository
eruda-webpack-plugin
: Simple webview with eruda loaded automatically. | Link to repositoryeruda-pixel
: Remote debugging tool. | Link to repository
See liriliri's license, as I do not own this software.