473,386 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Open Your Own Darn Window!

I've got a WebApp or Dashboard or Widget or whatever the nom du jour
is. It sits in the corner of the screen displaying data as needed,
prodded by external events.

It's a browser window with no menu, address, status, etc bars running
a little JavaScript to keep itself fresh.

The problem is that on some users' machines, clicking a link in an e-
mail will open the link's page in my WebApp's window rather than
opening a new browser instance.

The app's window is named on creation (i.e. target="something" in an
open() function)

Does anybody know how I can protect my App's browser window from being
hijacked?

I've tried googling for an answer but "protect browser window from URL
hijack" goes down a whole different path.

Thanks,

Don

Apr 27 '07 #1
2 1959
<Do********@gmail.comwrote:
The problem is that on some users' machines, clicking a link in an e-
mail will open the link's page in my WebApp's window rather than
opening a new browser instance.

The app's window is named on creation (i.e. target="something" in an
open() function)

Does anybody know how I can protect my App's browser window from being
hijacked?

I've tried googling for an answer but "protect browser window from URL
hijack" goes down a whole different path.
Check for an option that specifies whether a tab/window is reused. In
Opera, it's Preferences Advanced Tabs Reuse current tab.
--
Darin McGrew, mc****@stanfordalumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp.com, http://www.HTMLHelp.com/

"The early bird gets the worm, but the second mouse gets the cheese."
Apr 27 '07 #2
On 26 Apr 2007 17:52:46 -0700, Do********@gmail.com wrote:
>I've got a WebApp or Dashboard or Widget or whatever the nom du jour
is. It sits in the corner of the screen displaying data as needed,
prodded by external events.

It's a browser window with no menu, address, status, etc bars running
a little JavaScript to keep itself fresh.

The problem is that on some users' machines, clicking a link in an e-
mail will open the link's page in my WebApp's window rather than
opening a new browser instance.

The app's window is named on creation (i.e. target="something" in an
open() function)

Does anybody know how I can protect my App's browser window from being
hijacked?

I've tried googling for an answer but "protect browser window from URL
hijack" goes down a whole different path.

Thanks,

Don
Unfortunatly that is pretty much dependant on how the browser
intereperates the code =[.

You're best bet would probably be to either
a) Put the e-mail address in plain-text or
b) have the widget window open another window which contains the link

Both are not ideal but at least you can keep your widget open
Apr 27 '07 #3

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

Similar topics

18
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...
1
by: toedipper | last post by:
Hello, Can someone kindly tell me what is wrong with this code? A simple page with a link that when clicked uses window.open but when I open it in IE6 and click on the link I get 'Line 12...
6
by: Les | last post by:
Hi, I'd like to find out how to use the window.open() script in Fireworks MX. I have posted my question in the Fireworks forum but didn't get any replies. Since it's javascript, maybe someone...
4
by: Obscurr | last post by:
hi! when I'm using the window.open javascript command, a new IE window pops up. But when I try doing the same on another computer, the first window still acts as the current one, and the new one...
10
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="#"...
3
by: NeverLift | last post by:
But, if it's not open, I don't want to open it . . . using window.open will open it if it doesn't exist, even if the url in that open is null (the window is then empty -- but it's open). The...
4
by: gabe | last post by:
i have a solution to gather the text in each window that is open, but would rather use only managed code rather than unmanaged code my current solution relies on. The purpose is to get the text in...
7
by: anthony.turcotte | last post by:
Hi, I've looked for a solution to this problem on google, read posts in this newsgroup and I still haven't found anything that could help me. Here's the scenario. 1. User accesses...
13
by: Geoff Fox | last post by:
I am in the final moments of designing a new website. One of the pages (http://www.auditionfactory.com/samples.php) has four links to show sample work. I would like these links to open new...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

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.