diff --git a/extensions/cookie/jar.mn b/extensions/cookie/jar.mn
index 0d03e890b6a..43e3aa8e9a4 100644
--- a/extensions/cookie/jar.mn
+++ b/extensions/cookie/jar.mn
@@ -6,6 +6,7 @@ comm.jar:
content/cookie/cookiePrefsOverlay.xul (resources/content/cookiePrefsOverlay.xul)
content/cookie/pref-cookies.xul (resources/content/pref-cookies.xul)
content/cookie/pref-images.xul (resources/content/pref-images.xul)
+ content/cookie/pref-popups.xul (resources/content/pref-popups.xul)
content/cookie/cookieOverlay.js (resources/content/cookieOverlay.js)
content/cookie/p3p.xul (resources/content/p3p.xul)
content/cookie/p3pDialog.xul (resources/content/p3pDialog.xul)
@@ -28,6 +29,7 @@ en-US.jar:
locale/en-US/cookie/cookiePrefsOverlay.dtd (resources/locale/en-US/cookiePrefsOverlay.dtd)
locale/en-US/cookie/pref-cookies.dtd (resources/locale/en-US/pref-cookies.dtd)
locale/en-US/cookie/pref-images.dtd (resources/locale/en-US/pref-images.dtd)
+ locale/en-US/cookie/pref-popups.dtd (resources/locale/en-US/pref-popups.dtd)
locale/en-US/cookie/p3p.dtd (resources/locale/en-US/p3p.dtd)
locale/en-US/cookie/cookie.properties (resources/locale/en-US/cookie.properties)
locale/en-US/cookie/cookieAcceptDialog.properties (resources/locale/en-US/cookieAcceptDialog.properties)
diff --git a/extensions/cookie/resources/content/cookiePrefsOverlay.xul b/extensions/cookie/resources/content/cookiePrefsOverlay.xul
index 9be52ccc828..f7227a9413d 100644
--- a/extensions/cookie/resources/content/cookiePrefsOverlay.xul
+++ b/extensions/cookie/resources/content/cookiePrefsOverlay.xul
@@ -40,6 +40,12 @@
label="&images.label;"/>
+
+
+
+
+
diff --git a/extensions/cookie/resources/content/pref-popups.xul b/extensions/cookie/resources/content/pref-popups.xul
new file mode 100644
index 00000000000..117b4bbeaed
--- /dev/null
+++ b/extensions/cookie/resources/content/pref-popups.xul
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+%prefPopupsDTD;
+]>
+
+
diff --git a/extensions/cookie/resources/locale/en-US/cookiePrefsOverlay.dtd b/extensions/cookie/resources/locale/en-US/cookiePrefsOverlay.dtd
index 8fc78a118b4..b0bd937f420 100644
--- a/extensions/cookie/resources/locale/en-US/cookiePrefsOverlay.dtd
+++ b/extensions/cookie/resources/locale/en-US/cookiePrefsOverlay.dtd
@@ -1,2 +1,3 @@
+
diff --git a/extensions/cookie/resources/locale/en-US/pref-popups.dtd b/extensions/cookie/resources/locale/en-US/pref-popups.dtd
new file mode 100644
index 00000000000..3f11bea4c41
--- /dev/null
+++ b/extensions/cookie/resources/locale/en-US/pref-popups.dtd
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/xpfe/components/prefwindow/resources/content/cookiePrefsOverlay.xul b/xpfe/components/prefwindow/resources/content/cookiePrefsOverlay.xul
index 9be52ccc828..f7227a9413d 100644
--- a/xpfe/components/prefwindow/resources/content/cookiePrefsOverlay.xul
+++ b/xpfe/components/prefwindow/resources/content/cookiePrefsOverlay.xul
@@ -40,6 +40,12 @@
label="&images.label;"/>
+
+
+
+
+
diff --git a/xpfe/components/prefwindow/resources/content/permissionsPrefsOverlay.xul b/xpfe/components/prefwindow/resources/content/permissionsPrefsOverlay.xul
index 9be52ccc828..f7227a9413d 100644
--- a/xpfe/components/prefwindow/resources/content/permissionsPrefsOverlay.xul
+++ b/xpfe/components/prefwindow/resources/content/permissionsPrefsOverlay.xul
@@ -40,6 +40,12 @@
label="&images.label;"/>
+
+
+
+
+
diff --git a/xpfe/components/prefwindow/resources/content/pref-popups.xul b/xpfe/components/prefwindow/resources/content/pref-popups.xul
new file mode 100644
index 00000000000..117b4bbeaed
--- /dev/null
+++ b/xpfe/components/prefwindow/resources/content/pref-popups.xul
@@ -0,0 +1,116 @@
+
+
+
+
+
+
+
+%prefPopupsDTD;
+]>
+
+
diff --git a/xpfe/components/prefwindow/resources/locale/en-US/cookiePrefsOverlay.dtd b/xpfe/components/prefwindow/resources/locale/en-US/cookiePrefsOverlay.dtd
index 8fc78a118b4..b0bd937f420 100644
--- a/xpfe/components/prefwindow/resources/locale/en-US/cookiePrefsOverlay.dtd
+++ b/xpfe/components/prefwindow/resources/locale/en-US/cookiePrefsOverlay.dtd
@@ -1,2 +1,3 @@
+
diff --git a/xpfe/components/prefwindow/resources/locale/en-US/permissionsPrefsOverlay.dtd b/xpfe/components/prefwindow/resources/locale/en-US/permissionsPrefsOverlay.dtd
index 8fc78a118b4..b0bd937f420 100644
--- a/xpfe/components/prefwindow/resources/locale/en-US/permissionsPrefsOverlay.dtd
+++ b/xpfe/components/prefwindow/resources/locale/en-US/permissionsPrefsOverlay.dtd
@@ -1,2 +1,3 @@
+
diff --git a/xpfe/components/prefwindow/resources/locale/en-US/pref-popups.dtd b/xpfe/components/prefwindow/resources/locale/en-US/pref-popups.dtd
new file mode 100644
index 00000000000..3f11bea4c41
--- /dev/null
+++ b/xpfe/components/prefwindow/resources/locale/en-US/pref-popups.dtd
@@ -0,0 +1,16 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+