зеркало из https://github.com/mozilla/gecko-dev.git
disable adv image pref is imageblocking is enabled
This commit is contained in:
Родитель
195941a0df
Коммит
71d4c4e2d7
|
@ -286,6 +286,9 @@ nsPrefWindow.prototype =
|
||||||
element = window.frames[this.contentFrame].document.getElementById("cookieWindow");
|
element = window.frames[this.contentFrame].document.getElementById("cookieWindow");
|
||||||
titleWithImages = element.getAttribute("titleWithImages");
|
titleWithImages = element.getAttribute("titleWithImages");
|
||||||
element.setAttribute("title",titleWithImages);
|
element.setAttribute("title",titleWithImages);
|
||||||
|
} else if (aPageTag.indexOf("pref-advanced") != -1) {
|
||||||
|
element = window.frames[this.contentFrame].document.getElementById("advancedAlwaysLoadImages");
|
||||||
|
element.setAttribute("style","display: none;" );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче