• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

navigator.preference doesnt work for me

 
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,

I am trying to identify if the "load images" is enabled in the mozilla based browser.

I tried following but it doesn't work.
netscape.security.PrivilegeManager.enablePrivilege('UniversalBrowserRead');
alert("Nav Pref:"+navigator.preference('general.always_load_images'));

It gives me,
Error: uncaught exception: Permission denied to get property Navigator.preferenceinternal
even if I click "Allow" on "Internet Security" popup asking for user persmission to allow the site for UniversalBrowserRead access..

Any ideas?

Regards
Maulin
 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Never played with this since I never needed too...

http://www.mozilla.org/projects/security/components/signed-scripts.html

That is documentation.

Are you afraid people are not seeing your ads?

Eric
 
Maulin Vasavada
Ranch Hand
Posts: 1873
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Are you afraid people are not seeing your ads?

of course

well its not my project. i'm trying to be of some help, using some help

I know I can detect blocked windows and notify user that they have blocked window popups but the similar thing cant be done that easily with images so I was curious...

Regards
Maulin
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic