JDJ-8139122 - thanks for the work-around

John Maton john2011uk at gmail.com
Sun Oct 11 08:35:46 UTC 2015


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


More information about the openjfx-dev mailing list