[thelist] Prevent a request from redirecting browser....

Chris Heilmann lists at onlinetools.org
Tue Mar 29 07:12:37 CST 2005


> Jay Blanchard wrote:
>> Good morning!
>>
>> Here is the scenario. You have created an application that will be used
>> in-house. It is opened in a browser window where, via JavaScript, you
>> have eliminated all but the title bar.
>>
>> If it is the only browser window open and you click a link in an e-mail
>> you have received that link proceeds to load in your application window,
>> which is not a good thing because you might lose application data since
>> you have the back button disabled (as much as it can be).
>>
>> Here is the question. Does anyone know of a way to prevent the site from
>> opening in the browser window or having the newly clicked site open in a
>> new browser window? I have in my mind something like a JavaScript
>> interception.....
>
> Good afternoon Jay:
>
>    I think what you are looking for are those annoying "leave a site
> popup" type script -- so it can detect if you have gone away from the
> main site or not.
>
>    Other than this, or some physical plugin, etc. on the browser, I
> can't think of anything else.

I think even that will not work. The other option would be to check if the
email client has a "force new window" option.

Another idea would be to bundle the application with another browser than
the standard Internet one. I've seen companies do that with Opera.
Basically  you write a batch script that opens the application in the
browser and make an icon for that on every user's desktop. Clicking a link
in an email would then open the other browser.


-- 
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/



More information about the thelist mailing list