ns4redirect = "url"
default: none

The ns4redirect command is used to provide Palview3 with the url of a page to send your visitors to if they are using the Netscape 4.x browser and they are trying to read a page type that is not viewable with that browser. Netscape 4.x does not support the IFRAME which is used in the htmltype = iframe or muliframe.

If you provide a url address in the ns4redirect command, let's assume it is ns4warn.htm, Palview3 will insert the following javascript code into the top of your Html page if that page uses either of the htmltype above.

 if(document.layers)
  location.href='ns4warn.htm';

The above code will cause the NS4 browser to go to the ns4warn.htm page. Note that it is the webmasters responsibility to create such a page as the ns4warn.htm example above and to upload it to the server. Also note that the above code will only be written into the page if a url value is supplied to the ns4redirect INI option.

One final observation about the ns4redirect option. You could use this option to send your NS4 visitors to a page that contains the same game(s) as the original page but does not use an iframe. For example, you could use the same PGN file to create an htmltype = frames version specifically for your NS4 visitors. You could then use the ns4redirect to send them to that page.