html - How do I view source code in an Android web browser? - Android Enthusiasts Stack Exchange
Where is the source code for Android's web browser? - Stack Overflow
Where is the source code for the Android app of Brave Browser? The GitHub repo does not have any java/kotlin files required to develop an Android app.
Which is the best open source code editor for an Android OS mobile phone?
You can use Javascript's alert method to return the source code, type this in the address bar:
javascript: alert(document.getElementsByTagName('html')[0].innerHTML);
In Firefox or Chrome on Android it's possible to view source by prefixing the URL in the address bar with "view-source:", i.e. "view-source:http://google.com".
It's in the Git repository:
https://android.googlesource.com/platform/packages/apps/Browser
https://android.googlesource.com/platform/external/webkit/+/android-3.2.4_r1/WebCore/xml/XMLHttpRequest.h
Edit:
The applications are now mirrored on github. You can find the browser here: https://github.com/android/platform_packages_apps_browser.git
Or try GrepCode: You can even throw a stack trace at it and it shows all relevant java files in all platform versions.
The GitHub organization https://github.com/brave nor the GitHub repo https://github.com/brave/brave-browser has Java or Kotlin code to develop Android app.
Is the Android version not opensource? If it is opensource, please link to the repository. Thanks.