Disclosure Statement: This site contains affiliate links, which means that I may receive a commission if you make a purchase using these links. As an eBay Partner, I earn from qualifying purchases.
If you find these projects useful please consider becoming a sponsor with Patreon, GitHub or Liberapay.

Please join us and help us.

Post Reply
sodlf159
Posts: 90
Joined: Thu Nov 09, 2023 1:55 pm

Please join us and help us.

Post by sodlf159 »

;) https://www.briskbard.com/forum/viewtopic.php?t=2376

CEF4 is also unchanged.

https://abrahamjuliot.github.io/creepjs/


Wakr useragentdata
I'm curious how to change it.
It has nothing to do with the Navigator part.
sodlf159
Posts: 90
Joined: Thu Nov 09, 2023 1:55 pm

Re: Please join us and help us.

Post by sodlf159 »

salvadordf help!!
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Please join us and help us.

Post by salvadordf »

I just uploaded a new version of MobileBrowser with https://abrahamjuliot.github.io/creepjs/

CEF and WebView2 expose a limited set of methods to manage the browser properties.

If they are not enough to avoid detection by some website then you will have to patch Chromium's code directly and build CEF with those sources.
sodlf159
Posts: 90
Joined: Thu Nov 09, 2023 1:55 pm

Re: Please join us and help us.

Post by sodlf159 »

thank you Wakr useragentdata

Wakr useragent is changed, but how do I change useragentdata?
brand, list
sodlf159
Posts: 90
Joined: Thu Nov 09, 2023 1:55 pm

Re: Please join us and help us.

Post by sodlf159 »

Help me!! Plz..
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Please join us and help us.

Post by salvadordf »

I'm sorry but I don't know how Chromium gets those values.

Try reading this thread and then experiment with the DevTools methods :
https://briskbard.com/forum/viewtopic.php?t=2134
sodlf159
Posts: 90
Joined: Thu Nov 09, 2023 1:55 pm

Re: Please join us and help us.

Post by sodlf159 »

In the case of Wakr useragent, it must be changed before calling StartMainProcess.
In the case of DevTools, it does not change until after calling.
Is there a way to change it before calling it? useragentdata?
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Please join us and help us.

Post by salvadordf »

Disable the Chromium1.DefaultURL line in TForm1.FormCreate in the MobileBrowser.
Then set some emulation settings and after that click on the GO button.

The web browser will apply the new emulation settings to the first web page.

Experiment with the MobileBrowser demo, Try new DevTools methods until you find the ones that work in the use case of your application.
sodlf159
Posts: 90
Joined: Thu Nov 09, 2023 1:55 pm

Re: Please join us and help us.

Post by sodlf159 »

https://ibb.co/9rn6wjc

This can never be changed. User agent data.
User avatar
salvadordf
Posts: 4564
Joined: Thu Feb 02, 2017 12:24 pm
Location: Spain
Contact:

Re: Please join us and help us.

Post by salvadordf »

I'm sorry but I don't know how to change all those values.

You will have to experiment with the MobileBrowser demo and other DevTools methods or even patching Chromium and building the CEF binaries yourself in order to change some of those values.
Post Reply