I'm developing the project featuring Qt4 WebKit based browser (will have it moved to Qt5 in the future). It would be nice to allow the users to open .onion sites (dark web), which is not directly possible. In order to achieve this the original url must be modified by adding a special suffix. So my question is whether it is possible to intercept the URL that is going to be opened by the Qt browser and substitute it with the new transformed one?