Setting the browser widget user-agent to impersonate Chrome

Terry Judd terry.judd at unimelb.edu.au
Sun Jun 6 23:28:09 EDT 2021


Never mind - it seems to be working now __

On 7/6/21, 12:43 pm, "use-livecode on behalf of Terry Judd via use-livecode" <use-livecode-bounces at lists.runrev.com on behalf of use-livecode at lists.runrev.com> wrote:

    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…

    _______________________________________________
    use-livecode mailing list
    use-livecode at lists.runrev.com
    Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
    http://lists.runrev.com/mailman/listinfo/use-livecode




More information about the use-livecode mailing list