473,626 Members | 3,198 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Restricting an open browser window

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
13 1860
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.goo glegroups.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
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

"Dave Holmes" <jd******@charm .net> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.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
> 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.goo glegroups.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
>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******@spamf romyou.com> wrote in message
news:eJ******** ********@tk2msf tngp13.phx.gbl. ..
"Dave Holmes" <jd******@charm .net> wrote in message
news:11******** **************@ g44g2000cwa.goo glegroups.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
"Bob Lehmann" <no****@dontbot herme.zzz> wrote in message
news:%2******** ********@tk2msf tngp13.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
Gazing into my crystal ball I observed "Bob Lehmann"
<no****@dontbot herme.zzz> writing in
news:#j******** ******@tk2msftn gp13.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
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
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

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

18
8832
by: Paul | last post by:
I link to a web site from an Excel spreadsheet. The page i link to is getCookie.asp which sets a cookie then returns back some html which opens a new window, to the same site but a different page (same folder). The cookie is not received. Can someone explain why? I worked around this by adding a cache-control header with a value of no-cache. This fixes the problem. Unfortunately that causes another problem with Internet Explorer...
6
12156
by: lukeo | last post by:
I'm shelling out to an .asp (or htm) page from an application. I want to show this in a window without the address bar, etc... Is there a way I can redirect this page using javascript to a page where I can set the window height, statusbar=no, etc? Thanks, -Luke
2
4122
by: venkatesh | last post by:
Hi Members, I have used the below mentioned code to open a html page in a new browser. The window size is 200 x 300. In that browser, I've given code to open another browser of the same size. However, this is not happening in IE 5. Can anyone help me solve this problem? Code: Script:
10
11217
by: Marshall Dudley | last post by:
When I do the following line in Netscape, the popup loads as it should, but the parent window usually, but not always, reloads as well. <a href="#" onClick="window.open('/cgi-bin/displayimage.cgi?/store/demo/image.jpg&YOUR+PRODUCT%27<b>S+NAME+GOES', 'fullimage', 'WIDTH=420,HEIGHT=405,status=0')"> The original window should not reload, but is, and I have tested it with both version 4.72 and 7.02, and they both do it. IE does not do it....
10
6730
by: David McCulloch | last post by:
The following code opens a new window, but the "resizeTo" doesn't resize it. Why not? (Don't ask why I simply did not open the window with the new size....my original problem was how to open a new window with maximized dimensions!) FYI, I uploaded the same code to: http://tosasoft.com/test/open.htm ========================================
2
2990
by: nntp | last post by:
Are there other ways to open multile windows at once? <SCRIPT language="JavaScript"> function open1() { var open1 = window.open('http://google.com/CheckEnviro.pl','','scrollbars=yes,height=600 ,width=800,resizable=yes'); } function open2() { var open2 =
3
3790
by: Bob | last post by:
I am trying to create a popup page (to act as a menu) from a parent page. When the parent page (index.jsp) calls my popup function (see below) it will properly open the correct size browser window only if the browser that index.jsp is opened in is NOT maximized. If index.jsp is maximized and then I click on the test link that fires off the openMain function, the browser that is opened for the popup is also maximized. function...
7
5812
by: Toccoa | last post by:
After considerable googling - I mean searching with Google(r) - I could not find javascript on a button or <a href=... to close a window in the latest versions of IE and FireFox. There seemed to be two techniques for earlier versions. But the window.opener='' ;window.close(); and the window.open('','_parent','') ;window.close(); techniques do not work for me. I.e., I still get confirmation message
8
8706
by: sneddo | last post by:
Ok I am trying to do the above, I have got a script that will restrict the length but it requires the user to enter the field and hit a key, before it will work. This would normaly be find, but the title field gets its information from a previouse page so its value can easily be over 40 chars. (I can not restrict the length on the previouse page.) The major dificulty is that there is no form on the aspx page, and I do not have access to...
0
8265
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8196
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8637
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8364
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8504
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7193
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6125
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4092
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1511
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.