Android-Web-Inspector
Android-Web-Inspector copied to clipboard
Does not work for sites that redefine `$$`
This app defines a JavaScript object $$ which it then uses to perform actions. However, on a site I have defined $$ to be an alias of document.querySelectorAll, making the app unusable. Errors are of the form Uncaught TypeError: $$.print is not a function.
Hi! 👋
I've opened a PR to fix this conflict: https://github.com/agusibrahim/Android-Web-Inspector/pull/13
The fix renames the internal $$ object to a unique variable name so it doesn't override your custom alias for document.querySelectorAll. This should resolve the TypeError and allow the app to work alongside your custom definitions.
Thanks for the report!