What could be wrong?
WebIDE helps debugging web pages in Firefox on Android, but I’ve been missing simple ways to inject code that can help me debug issues. Debugging can be very time consuming, and one is always looking for shortcuts. If it’s possible to throw in a script that, say, throws whenever IFRAME.src is set it can allow me to zoom in on a method I need to find.
(It’s admittedly a little more painful that it should be to keep editing/removing/re-installing the addon - for now - so it should probably be rewritten to just read “patch” files from the file system and evaluate them inside the page - or something. That way, just adb push-ing a file to the phone would change the debug output. Maybe someone can help implementing that?)
Website markup can hide many odd or funny things. Look at this inspector screenshot:
This is from a big, global site’s local presence in a country well known for politeness. I guess adding an “apology module” is a sign the devs at weather.yahoo.co.jp are very well attuned to local customs..
So Firefox Devtools uses an open source library called Code Mirror for syntax highlighting - and it turns out it uses browser detection and breaks devtools if you spoof Firefox’s User-Agent. Ooops..
Do you know how Google docs maps keys to actions? That’s a nifty trick..
Not a bug report, but it might be a good idea to not automatically turn smileys into emoticons when your website contains articles about the history of the internet..