diff --git a/browser/base/content/browser.js b/browser/base/content/browser.js index 4e16012b391..bdbaa372e24 100644 --- a/browser/base/content/browser.js +++ b/browser/base/content/browser.js @@ -4807,6 +4807,9 @@ function asyncOpenWebPanel(event) // javascript links should be executed in the current browser if (wrapper.href.substr(0, 11) === "javascript:") return true; + // data links should be executed in the current browser + if (wrapper.href.substr(0, 5) === "data:") + return true; if (!webPanelSecurityCheck(locWrapper.href, wrapper.href)) return false;