Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

In 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() } })();



Unfortunately 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.


I was able to get this working on mobile Safari (iOS 16.5) and it worked just fine.


This doesn't seem to work in any mobile browser. Are there more specific instructions for Android Firefox?


It 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.


Unfortunately it doesn't work in Firefox on Android.


Chrome on Android just tries to search for that text


It 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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: