Pomoc pśepytaś

Glědajśo se wobšudy pomocy. Njenapominajomy was nigda, telefonowy numer zawołaś, SMS pósłaś abo wósobinske informacije pśeraźiś. Pšosym dajśo suspektnu aktiwitu z pomocu nastajenja „Znjewužywanje k wěsći daś“ k wěsći.

Dalšne informacije

Load Images Automatically Missing

  • 9 wótegrona
  • 35 ma toś ten problem
  • 1 naglěd
  • Slědne wótegrono wót Dippel

more options

I'm unable to set the Browser in a state where no images are loaded. Like the same option in Microsoft Internet Explorer.

It is _no_ option for me to (1) go to any site and (2) then set an option to not load the images and then (3) re-load that site without images.

I need to disable all image download for all sites _before_ going to any site.

I'm often using a very narrow broadband mobile connection which is usable only without images.

I'm unable to set the Browser in a state where no images are loaded. Like the same option in Microsoft Internet Explorer. It is _no_ option for me to (1) go to any site and (2) then set an option to not load the images and then (3) re-load that site without images. I need to disable all image download for all sites _before_ going to any site. I'm often using a very narrow broadband mobile connection which is usable only without images.

Wšykne wótegrona (9)

more options

Wubrane rozwězanje

more options

Quick Java allows quick enable and disable of Java, Javascript, Cookies, Image Animations, Flash, Silverlight, Images, Stylesheets and Proxy from the Statusbar and/or Toolbar.

https://addons.mozilla.org/en-US/firefox/addon/quickjava/

more options

Add-ons are not an option. I work in an office environment so I can't use add-ons.

Update: I tried the first link to see if the GPO allows download and luckily the plugin wasn't detected as a download and it works well since the button is on the interface and can be toggled quickly instead of having to switch back and forth between the menu.

If adding add-on isn't an issue, I highly suggest this TC.

Wót metatime změnjony

more options

If you can't use add-ons then you need to toggle prefs on the about:config page.

You can also do this by evaluating JavaScript code in the Browser/Error Console (Firefox/Tools > Web Developer;Ctrl+Shift+J). If you leave the Error Console open then you do not have to copy the code another time during the session, but you can click the Evaluate button to toggle the pref.

Copy and Paste the JavaScript code in the Code field in the Browser/Error Console (Firefox/Tools > Web Developer;Ctrl+Shift+J) and click the Evaluate button.

Load Images:

var {classes:Cc,interfaces:Ci} = Components;
var PS = Cc["@mozilla.org/embedcomp/prompt-service;1"] .getService(Ci.nsIPromptService);
var PB = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefService).getBranch("");
var PN = "permissions.default.image", PV = PB.getIntPref(PN);

PV = (PV==2)?"yes":"no";
var res = PS.confirm(null, "Load Images", PN + ": " + PV);
if (res) { PV = (PV=="yes")?1:2; PB.setIntPref(PN, PV); }

JavaScript:

var {classes:Cc,interfaces:Ci} = Components;
var PS = Cc["@mozilla.org/embedcomp/prompt-service;1"] .getService(Ci.nsIPromptService);
var PB = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefService).getBranch("");
var PN = "javascript.enabled", PV = PB.getBoolPref(PN);

PV = (PV==false)?"yes":"no";
var res = PS.confirm(null, "Enable JavaScript", PN+ ": "+ PV);
if (res) { PV = (PV=="yes")?true:false; PB.setBoolPref(PN, PV); }
more options

This code will allow to enable and disable Images and JavaScript in the current tab only, provided that it is globally enabled.

Images (tab):

var {classes:Cc,interfaces:Ci} = Components;
var PS = Cc["@mozilla.org/embedcomp/prompt-service;1"].getService(Ci.nsIPromptService);
var wm = Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator);
var gB = wm.getMostRecentWindow("navigator:browser").gBrowser;

function getDocShell() {
  var docShell = gB.docShell; docShell.QueryInterface(Ci.nsIDocShell);
  return docShell;
}

var PV = getDocShell().allowImages;
PV = (PV==false)?"yes":"no";
var res = PS.confirm(null, "Enable Images", "Images (tab): "+ PV);
if (res) { PV = (PV=="yes")?true:false; getDocShell().allowImages = PV; }

JavaScript (tab):

var {classes:Cc,interfaces:Ci} = Components;
var PS = Cc["@mozilla.org/embedcomp/prompt-service;1"].getService(Ci.nsIPromptService);
var wm = Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator);
var gB = wm.getMostRecentWindow("navigator:browser").gBrowser;

function getDocShell() {
  var docShell = gB.docShell; docShell.QueryInterface(Ci.nsIDocShell);
  return docShell;
}

var PV = getDocShell().allowJavascript;
PV = (PV==false)?"yes":"no";
var res = PS.confirm(null, "Enable JavaScript", "JavaScript (tab): "+ PV);
if (res) { PV = (PV=="yes")?true:false; getDocShell().allowJavascript = PV; }
more options

I was able to successfully install the image blocker extension, but why was I required to download and install an extension for this functionality? Saying that I can set image load preferences on a per page basis is silly and annoying. That does not compare to simply being able to click them on and off as I browse at work. I want to easily beable to turn it on and off.

As I said, I am using the extension, but the people who made the decision to remove the checkbox are idiots.

more options

You can still set/inspect the image permissions for the domain in the current tab via Tools > Page Info > Permissions, but unfortunately not via the about:permissions page for all domains.

more options

Which to me is a huge difference.

more options

Thanks alot. Although setting permissions.default.image via about:config or Javascript is less convenient than just clicking a check box - it actually solved my problem. btw. your image download yes/no toggling javascript code works very well - which makes me wonder why a feature like that had to be removed from the menus...