aspx_professional thread: intercepting browser forward, backward, and address controls
Message #1 by "Louis T. Klauder Jr." <lklauder@w...> on Wed, 22 Aug 2001 12:13:18 -0400
|
|
Tim;
Thanks for pointing me to the HTA Application option.
That seems to provide what I was looking for. Setting
the default document of the web service to the .hta
file has the minor nuisance that when the user goes
to the site via the browser he/she needs to answer the
open-in-place or download-now dialog. However if the
user does download it, then subsequently he/she can
just double click the .hta file (or create a short-cut
to it) and no longer needs to type a URL in the browser.
I made the operative line of the .hta file
<IFRAME SRC="http:[url of actual .aspx home page]" APPLICATON="no"
style="width:1600;height:1200;position:absolute;left:10;top:10">
which inserts a window into the browser loads the starting page.
Things then seem to work just the way I want them to. However,
if anyone reading this can suggest improvements, I would be
happy to hear of them. On
Thanks again, Lou
-----Original Message-----
From: Tim Heuer [mailto:TimH@i...]
Sent: Wednesday, August 22, 2001 1:25 PM
To: ASPX_Professional
Subject: [aspx_professional] RE: intercepting browser forward, backward,
a nd address controls
Without implementing something like an ActiveX control that would require
the user's permission to download anyway, no...
These "limitations" are in place to prevent malicious sites from changing
navigation in an undesirable way and are there to protect the user.
Unfortunately, in legitimate business applications we find good uses for
controlling these areas, but your options are limited to basically the
following (unless someone knows something I don't):
(1) location.replace()
(2) new window hiding all toolbar options
(3) capturing right click
(4) combination of 2/3
(5) HTA Application
(6) ActiveX/Plugin mechanisms
Tim
|