Current location: Hot Scripts Forums » General Web Coding » JavaScript » How to supress security prompt in Mozilla browser


How to supress security prompt in Mozilla browser

Reply
  #1 (permalink)  
Old 01-14-04, 12:53 AM
rameshreddy74 rameshreddy74 is offline
New Member
 
Join Date: Jan 2004
Location: Bangalore
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Question How to supress security prompt in Mozilla browser

My code is running in Mozilla. I have two frames. From the first frame if I am trying to load a page from a different domain in the next frame. I was getting access denied. I solved this problem by editing the preferences.js
to add a line:

user_pref("signed.applets.codebase_principal_suppo rt",true);


in the html page I am adding the line:

netscape.security.PrivilegeManager.enablePrivilege ('UniversalBrowserRead');


I am able to access the page but I am getting an alert saying the browser has requested for enhanced previleges.
I want to supress it as it is creating trouble for the clients to see every time this alert when the he loads the page.

Is there a way to do it? Can I give the previledges automatically when the page gets loaded so that I need not see this alert every time?

What if client is having a intranet? He does not need the security features which is typically needed in an internet environment.

Can I disable the mozilla browser's security features in the browser itself so that this prompt will not come?

Please Help
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 01:46 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.