By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,422 Members | 1,615 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,422 IT Pros & Developers. It's quick & easy.

Restricting an open browser window

P: n/a
Is there a way to keep an other application from opening a link in a
browser where I am running an ASP application?

For example, I have an ASP application open in a browser. If I click on
a link in an email message, Outlook "hijacks" the open browser and
opens opens the link in it. Is there a way to prevent this? To somehow
identifiy that browser window as "off limits" to another app?

Thanks.

Jul 22 '05 #1
Share this Question
Share on Google+
13 Replies


P: n/a
Is there any way for you to control it on your computer? Possibly. Is
there a way for you as the Web site owner to control it? No, definitely
not.

Ray at work

"Dave Holmes" <jd******@charm.net> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Is there a way to keep an other application from opening a link in a
browser where I am running an ASP application?

For example, I have an ASP application open in a browser. If I click on
a link in an email message, Outlook "hijacks" the open browser and
opens opens the link in it. Is there a way to prevent this? To somehow
identifiy that browser window as "off limits" to another app?

Thanks.

Jul 22 '05 #2

P: n/a
There is a way to control it on your computer for IE (Internet Options
-> Advanced Tab -> uncheck "Reuse windows for launching shortcuts", but
that doesn't really help me.

Jul 22 '05 #3

P: n/a

"Dave Holmes" <jd******@charm.net> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Is there a way to keep an other application from opening a link in a
browser where I am running an ASP application?

For example, I have an ASP application open in a browser. If I click on
a link in an email message, Outlook "hijacks" the open browser and
opens opens the link in it. Is there a way to prevent this? To somehow
identifiy that browser window as "off limits" to another app?
That is not a hijacking, it's called a protocol handler, and it's only
Outlook on your system because you installed it there, could be OE, Eudora,
Lotus Notes, Novel's funky CRM thing or any of dozens [if not hundreds] of
other handlers.

It would have to be disabled on a client-by-client basis, and it couldn't be
done just for your pages. It would also need to be done from an exe, if
it's possible from script, it'd be a vulnerability that would surely be
patched if discovered.

Would you also want to get rid of the context menu options to open in a new
window? It might be possible but again, it would impact the whole client
system.

Remember that as *ethical* developers (as opposed to the worthless trash
that develops malware for whatever reasons) we have a duty to respect the
client system and do everything in our power to preserve its integrity.

Whatever your goals are, they should be considered in that light.
-Mark
(Jobs are cheap, don't code anything that compromises your ethics, for any
amount of money, doing so degrades your own career, and it weakens IT as a
whole. Developers unite! Just say "NO"!)
Thanks.

Jul 22 '05 #4

P: n/a
> but that doesn't really help me.
So what you're saying is that there isn't a way?

Bob Lehmann

"Dave Holmes" <jd******@charm.net> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
There is a way to control it on your computer for IE (Internet Options
-> Advanced Tab -> uncheck "Reuse windows for launching shortcuts", but
that doesn't really help me.

Jul 22 '05 #5

P: n/a
>Remember that as *ethical* developers (as opposed to the worthless trash
that develops malware for whatever reasons) we have a duty to respect the
client system and do everything in our power to preserve its integrity.
You mean like the way msn.com doesn't respect the client if it happens to be
FireFox? For starters; Right-click most links at msn.com in FireFox.

Bob Lehmann

"Mark J. McGinty" <mm******@spamfromyou.com> wrote in message
news:eJ****************@tk2msftngp13.phx.gbl...
"Dave Holmes" <jd******@charm.net> wrote in message
news:11**********************@g44g2000cwa.googlegr oups.com...
Is there a way to keep an other application from opening a link in a
browser where I am running an ASP application?

For example, I have an ASP application open in a browser. If I click on
a link in an email message, Outlook "hijacks" the open browser and
opens opens the link in it. Is there a way to prevent this? To somehow
identifiy that browser window as "off limits" to another app?
That is not a hijacking, it's called a protocol handler, and it's only
Outlook on your system because you installed it there, could be OE,

Eudora, Lotus Notes, Novel's funky CRM thing or any of dozens [if not hundreds] of
other handlers.

It would have to be disabled on a client-by-client basis, and it couldn't be done just for your pages. It would also need to be done from an exe, if
it's possible from script, it'd be a vulnerability that would surely be
patched if discovered.

Would you also want to get rid of the context menu options to open in a new window? It might be possible but again, it would impact the whole client
system.

Remember that as *ethical* developers (as opposed to the worthless trash
that develops malware for whatever reasons) we have a duty to respect the
client system and do everything in our power to preserve its integrity.

Whatever your goals are, they should be considered in that light.
-Mark
(Jobs are cheap, don't code anything that compromises your ethics, for any
amount of money, doing so degrades your own career, and it weakens IT as a
whole. Developers unite! Just say "NO"!)
Thanks.


Jul 22 '05 #6

P: n/a
"Bob Lehmann" <no****@dontbotherme.zzz> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
Remember that as *ethical* developers (as opposed to the worthless trash
that develops malware for whatever reasons) we have a duty to respect the
client system and do everything in our power to preserve its integrity.


You mean like the way msn.com doesn't respect the client if it happens to
be
FireFox? For starters; Right-click most links at msn.com in FireFox.


User Agent Switcher - Firefox Extension
https://addons.mozilla.org/extension...info.php?id=59
Jul 22 '05 #7

P: n/a
Gazing into my crystal ball I observed "Bob Lehmann"
<no****@dontbotherme.zzz> writing in
news:#j**************@tk2msftngp13.phx.gbl:
Remember that as *ethical* developers (as opposed to the worthless
trash that develops malware for whatever reasons) we have a duty to
respect the client system and do everything in our power to preserve
its integrity.


You mean like the way msn.com doesn't respect the client if it happens
to be FireFox? For starters; Right-click most links at msn.com in
FireFox.


Holy Right Mouse Button Batman! I never knew that, but then, I use
Opera, and I very rarely go to msn.com anyway. That's really
interesting. A while back, MSDN was doing some browser sniffing so Opera
was getting left out. Now, I guess they're attacking Firefox. Why
can't we all just get along?

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 22 '05 #8

P: n/a
The app in question is on a secure intranet, so we already control
every aspect of the client system. It would just be easier to
accomplish if a browser could be made "hijack proof".

Thanks for the ethics lecture, anyway.

Jul 22 '05 #9

P: n/a
Dave Holmes wrote:
Is there a way to keep an other application from opening a link in a
browser where I am running an ASP application?

For example, I have an ASP application open in a browser. If I click
on a link in an email message, Outlook "hijacks" the open browser and
opens opens the link in it. Is there a way to prevent this? To somehow
identifiy that browser window as "off limits" to another app?


One thing that comes to mind:
http://www.webreference.com/dhtml/diner/beforeunload/

Use with care.

--
Dave Anderson

Unsolicited commercial email will be read at a cost of $500 per message. Use
of this email address implies consent to these terms. Please do not contact
me directly or ask me to contact you directly for assistance. If your
question is worth asking, it's worth posting.
Jul 22 '05 #10

P: n/a
I guess they're trying to prevent people from using tabbed browsing, which
their old-dog browser doesn't have.

I rarely use msn.com any more because of that.

Probably doesn't matter to them though since since I've AdBlocked (another
feature IE doesn't have) most of their revenue sources, which I wouldn't
click on anyway.

Bob Lehmann

"Adrienne" <ar********@sbcglobal.net> wrote in message
news:Xn****************************@207.115.63.158 ...
Gazing into my crystal ball I observed "Bob Lehmann"
<no****@dontbotherme.zzz> writing in
news:#j**************@tk2msftngp13.phx.gbl:
Remember that as *ethical* developers (as opposed to the worthless
trash that develops malware for whatever reasons) we have a duty to
respect the client system and do everything in our power to preserve
its integrity.


You mean like the way msn.com doesn't respect the client if it happens
to be FireFox? For starters; Right-click most links at msn.com in
FireFox.


Holy Right Mouse Button Batman! I never knew that, but then, I use
Opera, and I very rarely go to msn.com anyway. That's really
interesting. A while back, MSDN was doing some browser sniffing so Opera
was getting left out. Now, I guess they're attacking Firefox. Why
can't we all just get along?

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share

Jul 22 '05 #11

P: n/a
"Adrienne" wrote in message
news:Xn****************************@207.115.63.158 ...
: Gazing into my crystal ball I observed "Bob Lehmann"
: <no****@dontbotherme.zzz> writing in
: news:#j**************@tk2msftngp13.phx.gbl:
:
: >>Remember that as *ethical* developers (as opposed to the worthless
: >>trash that develops malware for whatever reasons) we have a duty to
: >>respect the client system and do everything in our power to preserve
: >>its integrity.
: >
: > You mean like the way msn.com doesn't respect the client if it happens
: > to be FireFox? For starters; Right-click most links at msn.com in
: > FireFox.
: >
: >
:
: Holy Right Mouse Button Batman! I never knew that, but then, I use
: Opera, and I very rarely go to msn.com anyway. That's really
: interesting. A while back, MSDN was doing some browser sniffing so Opera
: was getting left out. Now, I guess they're attacking Firefox. Why
: can't we all just get along?

I don't know if this is the correct browser but I though Opera could lie and
could be disguised as being IE or any other browser?!

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 22 '05 #12

P: n/a
Gazing into my crystal ball I observed "Roland Hall" <nobody@nowhere>
writing in news:u4**************@TK2MSFTNGP10.phx.gbl:
"Adrienne" wrote in message
news:Xn****************************@207.115.63.158 ...
: Gazing into my crystal ball I observed "Bob Lehmann"
: <no****@dontbotherme.zzz> writing in
: news:#j**************@tk2msftngp13.phx.gbl:
:
: >>Remember that as *ethical* developers (as opposed to the worthless
: >>trash that develops malware for whatever reasons) we have a duty to
: >>respect the client system and do everything in our power to preserve
: >>its integrity.
: >
: > You mean like the way msn.com doesn't respect the client if it
: > happens to be FireFox? For starters; Right-click most links at
: > msn.com in FireFox.
: >
: >
:
: Holy Right Mouse Button Batman! I never knew that, but then, I use
: Opera, and I very rarely go to msn.com anyway. That's really
: interesting. A while back, MSDN was doing some browser sniffing so
: Opera was getting left out. Now, I guess they're attacking Firefox.
: Why can't we all just get along?

I don't know if this is the correct browser but I though Opera could
lie and could be disguised as being IE or any other browser?!


Opera can lie, but it still says Opera in the UA string, like:
"Hi, I'm Jennifer Garner disguised as Mother Theresa." And who is Michael
Vaughn really?

--
Adrienne Boswell
http://www.cavalcade-of-coding.info
Please respond to the group so others can share
Jul 22 '05 #13

P: n/a
"Adrienne" wrote in message
news:Xn****************************@207.115.63.158 ...
: Gazing into my crystal ball I observed "Roland Hall" <nobody@nowhere>
: writing in news:u4**************@TK2MSFTNGP10.phx.gbl:
:
: > "Adrienne" wrote in message
: > news:Xn****************************@207.115.63.158 ...
: >: Gazing into my crystal ball I observed "Bob Lehmann"
: >: <no****@dontbotherme.zzz> writing in
: >: news:#j**************@tk2msftngp13.phx.gbl:
: >:
: >: >>Remember that as *ethical* developers (as opposed to the worthless
: >: >>trash that develops malware for whatever reasons) we have a duty to
: >: >>respect the client system and do everything in our power to preserve
: >: >>its integrity.
: >: >
: >: > You mean like the way msn.com doesn't respect the client if it
: >: > happens to be FireFox? For starters; Right-click most links at
: >: > msn.com in FireFox.
: >: >
: >: >
: >:
: >: Holy Right Mouse Button Batman! I never knew that, but then, I use
: >: Opera, and I very rarely go to msn.com anyway. That's really
: >: interesting. A while back, MSDN was doing some browser sniffing so
: >: Opera was getting left out. Now, I guess they're attacking Firefox.
: >: Why can't we all just get along?
: >
: > I don't know if this is the correct browser but I though Opera could
: > lie and could be disguised as being IE or any other browser?!
: >
:
: Opera can lie, but it still says Opera in the UA string, like:
: "Hi, I'm Jennifer Garner disguised as Mother Theresa." And who is Michael
: Vaughn really?

(O:=

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 22 '05 #14

This discussion thread is closed

Replies have been disabled for this discussion.