Dark mode for webview

CustomWebView has this feature.

where i can download this extension

what about searching the community?
https://community.kodular.io/search?q=custom%20webview%20%23extensions%20
Taifun

Can You Provide Details How to Add Home Page link and which types components can be used also my app is stoped working when start

Can you tell how can i use this component ??

Read the documentation here CustomWebView : An extended form of Web Viewer and continue reading the complete thread to find many examples

Taifun

1 Like

I have already read all posts on page you mentioned but my app keeps stops when ever i try to load url from custom webview

what about providing a screenshot of your relevant blocks?
also use logcat to find out what is going on

Taifun

Screenshot_20240704-061622_Chrome

Check this

What is that procedure doing?
Does it work without using that procedure?

Taifun

Crash was due to wrong extension instance. Created webview for 1 and SetWebView for 2.

I fixed other issue but dark mode feature is not working

How to use this can you provide details please

Use evaluate js block and in the text input enter

document.body.style.backgroundColor = “black”;


already added but it is not working

Try this

document.body.style.backgroundColor = "black";

Thanks this is working.
But there is a issue it didn’t convert black text to white.
Can you add these settings to convert black text into white.

How to convert website black text to white text with this code . Can you add these settings in this code

document.body.style.backgroundColor = "black";
document.body.style.color = "white";
1 Like

It is also working fine.
But it only convert some text to white not all so can you please make some changes