Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Additionally, if the user tries to follow links on the Deltares home page, every page the user navigates to as well as the external content loaded by the page is checked against the "whitelist" in WebBrowserDisplay.xml to determine if the content should be allowed or blocked. For

If the user directly clicks external links that have not been whitelisted (ie. the LinkedIn, Youtube, Facebook and Twitter links at the bottom of the page) Delft-FEWS Explorer will open such links using the system default browser (i.e. FireFox, Chrome, MSIE) instead of using the Delft-FEWS embedded web browser. If external content is referenced indirectly (i.e. Google API's or other external Javascript libraries, external style sheets etc.) such content will be blocked when hosted on a domain which has not been whitelisted and as a result, the page layout and functionality may be seriously affected.

...

To display content in the Web Browser Display,topology nodes can be extended with optional URLs. In the following example, a SA test application (FEWS-Swiss was used) to show the potential variety.

An optional <mainPanel> element has been added in this example to give the browser window the focus if it was hidden by some other content window.

Code Block
xml
xml
<nodes id="Web" name="Web">
		<node id="node1" name="FOEN Swiss">
			<mainPanel>web browser display</mainPanel>
			<url>https://www.bafu.admin.ch/bafu/en/home.html</url>
		</node>
		<node id="node2" name="Meteo Swiss">
			<mainPanel>web browser display</mainPanel>
			<url>https://www.meteoswiss.admin.ch/home.html?tab=overview</url>
		</node>
		<node id="node3" name="Energy SFOE Swiss">
			<mainPanel>web browser display</mainPanel>
			<url>https://www.bfe.admin.ch/themen/00490/00491/00494/index.html?lang=en</url>
		</node>
		<node id="node4" name="YouTube (to test movies)">
			<mainPanel>web browser display</mainPanel>
			<url>https://www.youtube.com/</url>
		</node>	
		<node id="node5" name="Deltares">
			<mainPanel>web browser display</mainPanel>
			<url>https://www.deltares.nl/en/</url>
		</node>
		<node id="node6" name="Rijksoverheid (to test certificates) and redirect to https">
			<mainPanel>web browser display</mainPanel>
			<url>https://www.rijksoverheid.nl/</url>
		</node>
		<node id="node7" name="local html">
			<workflowId>Import</workflowId><mainPanel>web browser display</mainPanel>
			<url>file:///PATH_TO_LOCAL_FILE.html</url>
		</node>		
	</nodes>

...