MozillaZine


keyconfig code needed

User Help for Mozilla Firefox
KQ
Guest
 

Post Posted February 23rd, 2007, 11:26 am

Hi all:

I'd like to use a keyconfig shortcut for toggling "Load Images Automatically."

Can this be done?

If so, can someone tell me how?

Thanks in advance,

Kenquad

dorando
 
Posts: 1203
Joined: January 9th, 2004, 9:57 am

Post Posted February 24th, 2007, 2:10 am

Code: Select all
var pref = 'permissions.default.image'; gPrefService.setIntPref(pref,gPrefService.getIntPref(pref) == 2 ? 1 : 2);

Return to Firefox Support


Who is online

Users browsing this forum: Bing [Bot] and 10 guests