Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

How to allow local html file to open pop up window/ tab

972 views
Skip to first unread message

V S Rawat

unread,
Aug 6, 2008, 12:44:56 PM8/6/08
to
I am preparing a javascript.

It is a local file that I am creating, it uses javascript to open a url
in a new window (in a new tab as my settings are to use single window).

As soon as the my html file is loaded and gets executed, I see the
pop-up blocker warning. I have to go to the options to allow that page
and then that opens in a new tab.

Is there any way to tell ff3 to allow local files to open popup page?

My file is at E:\My Temp\test.html
Giving that in the allow popup for sites does not work.

--
V

Ron K.

unread,
Aug 6, 2008, 1:31:47 PM8/6/08
to
V S Rawat keyboarded, On 8/6/2008 12:44 PM :

You have to write a custom CAPS policy to activate an over ride of the
default security policy. There are pages in MozillaZine KB with some
guidance. A caution, once activated you are opening an attack vector
for malware. So doing the mods in a separate profile from your public
access profile is wise. The guidelines suggest that relaxing CAPS
security policy be limited to private intra-net or those servers with
which You use VPN connections to trusted servers.

--
Ron K.
Who is General Failure, and why is he searching my HDD?
Kernel Restore reported Major Error used BSOD to msg the enemy!

Charles W Davis

unread,
Aug 6, 2008, 9:58:29 PM8/6/08
to

"Ron K." <kil...@gisco.net> wrote in message
news:c46dnRW39bl8QgTV...@mozilla.org...

I use this html code which opens another small window. This is technically
not a 'popup' and therefore causes no problem:
<a
href="javascript:location=location;window.open('http://www.myscacc.org/Popups/considerations.htm','considerat','height=400,width=650,scrollbars=yes,resizable=yes')">Considerations
in Buying a Computer</a>

Where:
1. 'considerations.htm' is the popup URL.
2. 'height=400 is the height, in pixels, of the popup.
3. 'width=650 is the width, in pixels, of the popup.
4. 'scrollbars=yes, resizable=yes' is self explanatory.
5. 'Consideration in Buying a Computer' is the title that appears as the
link to the Popup.

You can see them in operation at these locations:
http://www.myscacc.org/classdescriptions.htm
As image titles here: http://www.alstonfinearts.com/

0 new messages