iOS Question set cookies googletrans

John Woodsmall

Active Member
Licensed User
Longtime User
how can i set a cookie on the iphone (safari) from b4i?
before i call a web page?


could not get javascript to work in real time.
 

John Woodsmall

Active Member
Licensed User
Longtime User
WebView3.LoadHtml($"
<html>
<head>

I can not get the required javascript to go into the page?
I get a edit error.:: cookies.js ::
--------------------
[ var docCookies = { ]
---------------------
i have tried setting the cookies outside of the page, but does not work.
 
Upvote 0

John Woodsmall

Active Member
Licensed User
Longtime User
if i call an external web page and use the above docCookies it does in fact
set the cookies from that web page (in safari) and then google uses the
cookies to decide which language to display. and it does this correctly!

but the issue is can i set the cookies (in safari) in-side of the app before it is called?

I guess not?
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…