Please enable JavaScript to view this site.

URL parameters and JavaScript

If your HTML pages include scripts that can evaluate URL parameters (supported in some Premium Pack skins, for example) you can also include parameters to be parsed by your script, like this:

eViewer app:
ewriter://<path+filename>?loadpage=index.html?mysetting=xyz
ewriter://<path+filename>?loadpage=index.html?introduction.htm&mysetting=xyz#anchor2
ewriter://<path+filename>?loadpage=introduction.html?mysetting=xyz&anchor=anchor2 (Premium Pack)

Windows EXE eWriter file:
ewriter://<path+EXEfilename>?loadpage=index.html?mysetting=xyz
ewriter://<path+EXEfilename>?loadpage=index.html?introduction.htm&mysetting=xyz#anchor2
ewriter://<path+EXEfilename>?loadpage=introduction.html?mysetting=xyz&anchor=anchor2 (Premium Pack)

The HTML location object is fully supported for interpreting URLs you pass to your pages like this. This means you can extract the query portion of the script with document.location.search, the hash portion (anchor) with document.location.hash and so on.