Limit browsing inside domain
-
wrote on 9 Aug 2020, 09:36 last edited by
Hello all,
I'm developing a kiosk machine and I need to navigate on a local page and eventually a defined domain. I'd like to write a simple Qt app with WebKit module.Is it possible with WebKit and related to limit browsing and achieve what I need?
Thanks! -
Hello all,
I'm developing a kiosk machine and I need to navigate on a local page and eventually a defined domain. I'd like to write a simple Qt app with WebKit module.Is it possible with WebKit and related to limit browsing and achieve what I need?
Thanks!wrote on 9 Aug 2020, 09:42 last edited by@SteMMo
If you want to stick with QtWebKit you may have to wait for @Konstantin-Tokarev to read this. Are you aware of QtWebEngine, https://doc.qt.io/qt-5/qtwebengine-index.html, which is what Qt > 5.5 now ships with out-of-the-box? -
wrote on 10 Aug 2020, 11:20 last edited by
On my board I have the Qt 5.7.1
I've developed a very simple application based on QtWebEngine: this is developed on Windows (5.9.9) and moved + compiled on 5.7.1 - It is ruuning !
Now I'd like to control the navigation .. -
On my board I have the Qt 5.7.1
I've developed a very simple application based on QtWebEngine: this is developed on Windows (5.9.9) and moved + compiled on 5.7.1 - It is ruuning !
Now I'd like to control the navigation ..wrote on 10 Aug 2020, 11:44 last edited by@SteMMo
I'm not an expert, but what about QWebEnginePage::acceptNavigationRequest ? You can examine the URL and accept/reject it, according to your criteria. -
Hello all,
I'm developing a kiosk machine and I need to navigate on a local page and eventually a defined domain. I'd like to write a simple Qt app with WebKit module.Is it possible with WebKit and related to limit browsing and achieve what I need?
Thanks!wrote on 10 Aug 2020, 12:12 last edited by@SteMMo said in Limit browsing inside domain:
eventually a defined domain.
If the domain is predefined beforehand, why would you let the users type it or anything else?
I'd just provide a way for them to select such predefined domain via a link/button/etc. pointing to such location
-
@SteMMo said in Limit browsing inside domain:
eventually a defined domain.
If the domain is predefined beforehand, why would you let the users type it or anything else?
I'd just provide a way for them to select such predefined domain via a link/button/etc. pointing to such location
wrote on 10 Aug 2020, 13:21 last edited by@Pablo-J-Rogina I need to explain:
the kiosk needs to show two kind of pages:- a registration form
- a public web site that contains some links that bring the normal user out of the portal, but not the user in front of the kiosk.
@JonB now the browser is a QML object so I have the WebEngineView object; I don't know how to access to QWebEnginePage object ..
4/7