Loading browser/base/content/browser-safebrowsing.js +5 −2 Changes for browser/base/content/browser-safebrowsing.js: 5 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -7,9 +7,12 @@ var gSafeBrowsing = { setReportPhishingMenu() { // tor-browser#18905: disable these menu entries /* eslint-disable no-unreachable */ // tor-browser#18905: hide these menu entries if ( !Services.prefs.getBoolPref("browser.safebrowsing.phishing.enabled", true) ) { return; } // In order to detect whether or not we're at the phishing warning // page, we have to check the documentURI instead of the currentURI. Loading Loading
browser/base/content/browser-safebrowsing.js +5 −2 Changes for browser/base/content/browser-safebrowsing.js: 5 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -7,9 +7,12 @@ var gSafeBrowsing = { setReportPhishingMenu() { // tor-browser#18905: disable these menu entries /* eslint-disable no-unreachable */ // tor-browser#18905: hide these menu entries if ( !Services.prefs.getBoolPref("browser.safebrowsing.phishing.enabled", true) ) { return; } // In order to detect whether or not we're at the phishing warning // page, we have to check the documentURI instead of the currentURI. Loading