How can I find out when my html page is loaded

How can I find out when my html page is loaded in my swt browser? Is there any event that I can listen to?

+3
source share
2 answers

Add ProgressListenerto it. It has a method called completedthrough which you receive notifications that the page is fully loaded.

+1
source

You need to process the changed () method from LocationListener (http://help.eclipse.org/helios/index.jsp?topic=/org.eclipse.platform.doc.isv/reference/api/org/eclipse/swt/browser /ProgressListener.html) and check if event.top is true

+2
source

Source: https://habr.com/ru/post/1783959/


All Articles