I am trying to build an interface for browsing a web-accessible
database from a twin-monitor "kiosk", using Windows XP, with the
option to "extend the desktop" onto the second screen.
I want to control the way windows are positioned on the two screens.
((Note: this is a "special case" interface. It is NOT part of the
normal web site, it is only meant to be used from these twin
screen machines, which will have known configurations. It
is not meant to be a general web interface or work on any
other setup...))
I have spent a while banging my head against this, and I believe I
have discovered the following.
By default, "window.open" and "window.moveTo" take locations, but
seem to be constrained to be entirely on the primary screen. So even
if you ask for a window to open on the (part of the desktop displayed
on the) second screen, it will in fact appear on the main display.
In Internet Explorer, there is a security setting named something like
"allow script-initiated windows without size or position constraints"
which lets me get around this. If I enable this, I can use javascript
to open windows on whichever desktop I choose.
I would LIKE to be able to keep open the option of using (or, if
necessary, changing to) Firefox on these kiosks. But I cannot
see how to do this: it does not seem to have any equivalent to this
security setting, so I cannot get windows off the primary display.
Can anybody shed any light? Is there a way to do this?
Robert.
--
|_) _ |_ _ ._ |- | So what? It's easier for me, so I'll do it!
| \(_)|_)(-'| |_ |
deadspam.com is a spamtrap. | > > What's wrong with top posting?
Use bcs.org.uk instead. | > It makes it hard to see comments in context. 4 4063
Robert Inder wrote: By default, "window.open" and "window.moveTo" take locations, but seem to be constrained to be entirely on the primary screen. So even if you ask for a window to open on the (part of the desktop displayed on the) second screen, it will in fact appear on the main display.
In Internet Explorer, there is a security setting named something like "allow script-initiated windows without size or position constraints" which lets me get around this. If I enable this, I can use javascript to open windows on whichever desktop I choose.
I would LIKE to be able to keep open the option of using (or, if necessary, changing to) Firefox on these kiosks. But I cannot see how to do this: it does not seem to have any equivalent to this security setting, so I cannot get windows off the primary display.
Can anybody shed any light? Is there a way to do this?
While I consider Firefox's behavior a bug (that you should file on
Bugzilla if it has not been filed there before), you can
A) use a signed script on these boxes
B) modify the Firefox preferences on these boxes
and request the UniversalBrowserWrite privilege to work around that.
It has been asked about circumventing security restrictions
not long ago: news:15****************@PointedEars.de
Please do research on previous articles before you post.
Google is your friend. [psf 6.1]
PointedEars
Thomas 'PointedEars' Lahn said the following on 2/6/2006 10:12 AM: Robert Inder wrote:
By default, "window.open" and "window.moveTo" take locations, but seem to be constrained to be entirely on the primary screen. So even if you ask for a window to open on the (part of the desktop displayed on the) second screen, it will in fact appear on the main display.
In Internet Explorer, there is a security setting named something like "allow script-initiated windows without size or position constraints" which lets me get around this. If I enable this, I can use javascript to open windows on whichever desktop I choose.
I would LIKE to be able to keep open the option of using (or, if necessary, changing to) Firefox on these kiosks. But I cannot see how to do this: it does not seem to have any equivalent to this security setting, so I cannot get windows off the primary display.
Can anybody shed any light? Is there a way to do this?
While I consider Firefox's behavior a bug (that you should file on Bugzilla if it has not been filed there before), you can
You consider it a bug that Firefox won't allow you to open, or move, a
window to a point that is not on the main display? That's not a bug. It
is a very well thought out feature.
I consider it a bug/flaw that browsers even allow you to move a window
much less open it where I don't want it.
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/ > Thomas 'PointedEars' Lahn writes: Subject: Re: Firefox and Multiple Screens Date: Mon, 06 Feb 2006 16:12:51 +0100
Robert Inder wrote:
By default, "window.open" and "window.moveTo" take locations, but seem to be constrained to be entirely on the primary screen. So even if you ask for a window to open on the (part of the desktop displayed on the) second screen, it will in fact appear on the main display.
While I consider Firefox's behavior a bug (that you should file on Bugzilla if it has not been filed there before), you can
A) use a signed script on these boxes B) modify the Firefox preferences on these boxes
and request the UniversalBrowserWrite privilege to work around that.
Thanks.
Documentation on this doesn't exactly leap out at one, but I think
I've found what i need.
PointedEars
Robert.
--
|_) _ |_ _ ._ |- | So what? It's easier for me, so I'll do it!
| \(_)|_)(-'| |_ |
deadspam.com is a spamtrap. | > > What's wrong with top posting?
Use bcs.org.uk instead. | > It makes it hard to see comments in context.
Robert Inder wrote: Thomas 'PointedEars' Lahn writes: > Subject: Re: Firefox and Multiple Screens > Date: Mon, 06 Feb 2006 16:12:51 +0100
^^^^^^^^
No need to reproduce those headers. > Robert Inder wrote:
^^^^^
You still have something to configure left ;-)
[Fixed quotation] By default, "window.open" and "window.moveTo" take locations, but seem to be constrained to be entirely on the primary screen. So even if you ask for a window to open on the (part of the desktop displayed on the) second screen, it will in fact appear on the main display. While I consider Firefox's behavior a bug (that you should file on Bugzilla if it has not been filed there before), you can
A) use a signed script on these boxes B) modify the Firefox preferences on these boxes
and request the UniversalBrowserWrite privilege to work around that.
Thanks.
You are welcome.
Documentation on this doesn't exactly leap out at one,
I do not understand. You just had to follow the message-ID I posted
and would have found
<URL:http://developer.mozilla.org/en/docs/Bypassing_Security_Restrictions_and_Signing_Code>
in the referenced posting.
but I think I've found what i need.
OK. (Maybe it was not the above.)
[...]
Please do not quote signature names unless you are referring to them
directly, and please delimit your signature with "-- " (Gnus is definitely
capable of that, too. Some people say it even can brew your coffee :))
Regards,
PointedEars This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: CES |
last post by:
I’m at a total loss as to why this doesn't work in Firefox.
This is a strait forward box with four rows. While the text is displayed properly in both IE and Firefox the background color doesn't...
|
by: Lizim |
last post by:
Does anybody know if it is possible to write software that works across
multiple monitors? and if so, is it possible to program one so it is private
to the user / administrator and the other...
|
by: Martin |
last post by:
Just wondered if you could give me some advice!
At the moment we code out systems in COBOL and we are
just starting to move everything to VB.net. Just
wondering how you all manage when...
|
by: Quina |
last post by:
Hi. Is there someone that can tell me how can I have multiple screens
on the the same form, displaying only on at the time?
Thank you all for any replys.
João Carias
|
by: Steve Marshall |
last post by:
I'm looking at developing an application which would benefit from being
able to work with 2 display monitors. But how do I work with multiple
displays? I'd like to be able to control which...
|
by: ryan p switchy |
last post by:
hey all -
having some trouble redoing my old website. using a css file and working with div layers to arrange things in different ways. in the end itll be a place for my art/music/whatever else. ...
|
by: trbjr |
last post by:
Experts,
My javascript application worked well until I upgraded. I use IE 6.0.29 with SP2 installed. My Firefox browser is 2.0.0.4. Prior to upgrade all worked well. Now my application works...
|
by: eholz1 |
last post by:
Hello Styleists!
I am trying to get a page going similar to this nice tutorial at A
List Apart.
URL: http://www.alistapart.com/d/holygrail/example_1.html
This is sorta what I would like. ...
|
by: Shashi Sadasivan |
last post by:
Hi All,
i Have an application functionaluty which has 4 forms which are needed to interact by the user by dragging data from these forms to one another
the main form is located in the MDI Parent...
|
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,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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$) {
}
...
|
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
|
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...
|
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...
|
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,...
|
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...
|
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,...
| |