News for hackers. Stuff that matters.
Re:Devtools for Mobile Browsers by tantalor on Monday June 26, 2023 @08:38AM (#36478940)
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() } })();

Re:Devtools for Mobile Browsers by aceazzameen on Monday June 26, 2023 @09:52AM (#36479667)
Unfortunately it doesn't work in Firefox on Android.
Re:Devtools for Mobile Browsers by semiquaver on Monday June 26, 2023 @09:58AM (#36479718)
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.
Re:Devtools for Mobile Browsers by bvogelzang on Monday June 26, 2023 @11:39AM (#36481188)
I was able to get this working on mobile Safari (iOS 16.5) and it worked just fine.
Re:Devtools for Mobile Browsers by avodonosov on Monday June 26, 2023 @10:00AM (#36479745)
Chrome on Android just tries to search for that text
Re:Devtools for Mobile Browsers by gabrielsroka on Monday June 26, 2023 @11:18AM (#36480802)
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.

Re:Devtools for Mobile Browsers by lopkeny12ko on Monday June 26, 2023 @10:04AM (#36479794)
This doesn't seem to work in any mobile browser. Are there more specific instructions for Android Firefox?
Re:Devtools for Mobile Browsers by gabrielsroka on Monday June 26, 2023 @11:18AM (#36480807)
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.