Code Monkey home page Code Monkey logo

Comments (11)

moya2162 avatar moya2162 commented on June 5, 2024 1

No worries. I thought webview was similar to Chromium since Bromite and Mulch both offer webview alternatives. If it makes sense to make a new module. I will keep eye out with whatever you decide to do.

Thank you for extremely fast response and clear communication. Best wishes!

from chromext.

JingMatrix avatar JingMatrix commented on June 5, 2024 1

Now I am sure that it is impossible to hook Webview and achieve what you want.

Here is a reminder for possible interests of any visitors.
Run frida-ps -U | grep web, we get

16078  com.google.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:0
16358  com.google.android.webview:sandboxed_process0:org.chromium.content.app.SandboxedProcessService0:0
16114  com.google.android.webview:webview_service                                                       
 2241  webview_zygote 

Run frida-trace -U -j 'org.*!*' 16358 to hook a webview:sandboxed_process above, but we get no interesting function calls.
Xposed hooks simply fail since no embedded classes will be called.

Edit:
Also note that Webview code is not included in various light browsers, so the possible way to achieve your goal is to hook them individually.
However, I think this is pointless if we have to do it in this way. The relvant functions should be developped by their authors.
Of course, they can get ideas from codes here if they want.

from chromext.

JingMatrix avatar JingMatrix commented on June 5, 2024 1

from chromext.

JingMatrix avatar JingMatrix commented on June 5, 2024

Can you explain why you would like to use Webview instead of the Mulch browser?

from chromext.

moya2162 avatar moya2162 commented on June 5, 2024

I actually would like to use some lightweight 3rd party browsers posted on fdroid that utilize the system webview and having ability to add userscripts which would be independent of the browser i use would be nice. I am not sure if there is technical difficulty trying add webview support. If there is its ok to not have support.

from chromext.

JingMatrix avatar JingMatrix commented on June 5, 2024

I get your idea. Which lightweight browser you are using?
A first thing I need is an app to debug, and one cannot directly open System Webview.
As an opinion, I think there is barely no need to use an indenpent Webview such as Mulch Webview. It seems nothing needs to change for System Webview, as least to me.

from chromext.

moya2162 avatar moya2162 commented on June 5, 2024

Ever since Bromite ceased development, I am trying to find an alternative to which would have similar features.

I am currently testing out Privacy Browser. Other ones im considering is Fulguris Browser. I have also tried the stock browser in lineage as well.

*edit: updated browser suggestion.

from chromext.

JingMatrix avatar JingMatrix commented on June 5, 2024

Ok, I get it, the support won't be difficult.
But maybe only UserScript function will be implement.
It takes time to work on it, and won't be done soon.
Webview is different from chromium browser, it almost requires write a new module.

from chromext.

JingMatrix avatar JingMatrix commented on June 5, 2024

Fulguris Browser and Privacy Browser are now partially supoorted.

from chromext.

JingMatrix avatar JingMatrix commented on June 5, 2024

Now webview based browsers are fully supported.

from chromext.

moya2162 avatar moya2162 commented on June 5, 2024

Thought you had abandoned the idea of adding webview support. Cool to see you have figured out a solution. Is your solution general or app specific?

from chromext.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.