How can I configure CustomWebView to make TaifunTools' KeepScreenOn feature work for only one specific page of my website?

How can I configure CustomWebView to make TaifunTools’ KeepScreenOn feature work for only one specific page of my website? Which blocks should i use?

Read the documentation to find a suitable event

For example the PageLoaded event and add an if statement like this

if url = your important url 
Then Keep screen on
Else don't keep screen on

Taifun


doesnt seem to work.

Try PageStarted.

Taifun

Are you sure CurrentUrl is same as desired page url?


so it seems like it still isn't working.

It should, but the problem might be that i have google authentication on my website, so that the url gets modified with a token for that session. Is there a way to make it work even with a token?

You can use contains block.

image

Thanks, but it doesn't seem to work, i verified that was my url but it believe i have a bigger problem that is not worth the time to solve. I'll just keep the screen always on.