- John Hnat
- PowerBuilder
- Thursday, 14 June 2018 06:32 PM UTC
Our software includes a Log-a-Call item. If clicked, this item opens a browser window and navigates to the page on our site where clients may enter support calls.
For various reasons, management has tasked us to revise this functionality. Instead of opening a browser window (Chrome, IE, etc.), they want this feature to open a (PB) window that contains the browser control on it, and that automatically goes to the Log-a-Call page on our web site. The window/browser control should meet the following requirements:
1. The Log-a-Call page on our site should load without errors and with full functionality (the web developer who designed that page used WordPress, and included several WordPress-only extensions that may not be interpreted correctly by older/more stringent browser controls);
2. It should not have an address bar, so users cannot use the browsing capability to access other resources;
3. It should allow us to intercept the clicked event, and check the source of a link that the user has clicked; if that resource is on a domain other than our own, then the user should receive an error message stating that the resource is not permitted. (Many of our resources are pages with embedded YouTube videos, and we don't want users going to the main YouTube site and then searching for other videos.)
4. It should allow us to intercept/disable right-clicked events, so that the user cannot right-click on the page and view the source code (or any other RMB menu options).
We've done some work with the Microsoft Web Browser OLE control provided in PB. However, our web page returns all sorts of errors when viewed using that control (probably because that control is older?)
Any ideas on how to solve this problem are appreciated.
We are using PB 2017 R2, build 1769, Standard edition.
Thanks!
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.