4 ms·
How to use it for a different web site?
by avodonosov 3y ago
How to use it for a different web site?
- tantalor 3y agoIn order to try it for different sites, execute the script below on browser address bar. javascript:(function () { var script = document.createElement('script'); script.src="//cdn.jsdelivr.net/npm/eruda"; document.body.appendChild(script); script.onload = function () { eruda.init() } })();
- aceazzameen 3y agoUnfortunately it doesn't work in Firefox on Android.
- semiquaver 3y agoUnfortunately javascript URIs don’t work from the address bar in many browsers like mobile Safari, probably to prevent attacks. At least for safari you need to create a bookmarklet with that content and execute it by “visiting” the bookmark.
- bvogelzang 3y agoI was able to get this working on mobile Safari (iOS 16.5) and it worked just fine.
- avodonosov 3y agoChrome on Android just tries to search for that text
- gabrielsroka 3y agoIt worked for me on Chrome for Android. Note that if you copy and paste it, it will typically remove the `JavaScript` at the beginning and you'll have to add it back.
- lopkeny12ko 3y agoThis doesn't seem to work in any mobile browser. Are there more specific instructions for Android Firefox?
- gabrielsroka 3y agoIt worked for me on Chrome and Brave for Android. Note that if you copy and paste it, it will typically remove the `JavaScript` at the beginning and you'll have to add it back.
- theallan 3y agoMore details about that on their github page [1]. It seems you basically need to include a JS file from [their CDN](//cdn.jsdelivr.net/npm/eruda). As someone who fondly remembers the early Firebug days, it is great to see this. It is very frustrating to me that tablets and phones are so powerful, but we can't do even basic dev stuff on them. [1] https://github.com/liriliri/eruda https://github.com/liriliri/eruda