[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    JDJ-8139122 - thanks for the work-around
From:       John Maton <john2011uk () gmail ! com>
Date:       2015-10-11 8:35:46
Message-ID: CACH-B__9cFw0sFskGNUNzwOxd_h8G+LvtS6PDNnPpXEaz61EEA () mail ! gmail ! com
[Download RAW message or body]

Guru,
Thanks for your work-around, it works fine for me:

"Alternatively : Please try to set a custom User agent by removing
"JavaFX/8.0" as mentioned below
        browser.getEngine().setUserAgent("Mozilla/5.0 (Windows NT 6.1;
Win64; x64) AppleWebKit/538.19 (KHTML, like Gecko) Safari/538.19"); "

Instead of doing that I did the following to make sure future changes do
not affect me:
browser.getEngine().setUserAgent(browser.getEngine().getUserAgent().replaceFirst("JavaFX/\\d.\\d
",""));

Please add my comments to JDJ-8139122
thanks again,
John Maton
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic