Setting the browser widget user-agent to impersonate Chrome

Terry Judd terry.judd at unimelb.edu.au
Sun Jun 6 22:41:22 EDT 2021


I’m trying to get the browser widget to identify itself as Chrome so that I can (attempt to) load a particular site. Is there a trick to how you format the user-agent string when you set the widget’s user-agent in its object inspector or should I just be able to enter something along these lines…

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36

This doesn’t work BTW (the page I attempt to load tells me to get Chrome).

Any ideas?

Terry…



More information about the use-livecode mailing list