[Pale-Moon] Issue MoonchildProductions/UXP#1644 - Remove plugin check leftovers (front-end)

Includes appropriate platform pointer update.
This commit is contained in:
Moonchild 2020-09-05 11:27:23 +00:00 • committed by roytam1
commit 347bfc5741
3 changed files with 1 additions and 31 deletions

View file

@ -54,9 +54,6 @@ XPCOMUtils.defineLazyGetter(this, "gBrowserBundle", function() {
return Services.strings.createBundle('chrome://browser/locale/browser.properties');
});
const PREF_PLUGINS_NOTIFYUSER = "plugins.update.notifyUser";
const PREF_PLUGINS_UPDATEURL = "plugins.update.url";
// We try to backup bookmarks at idle times, to avoid doing that at shutdown.
// Number of idle seconds before trying to backup bookmarks. 15 minutes.
const BOOKMARKS_BACKUP_IDLE_TIME = 15 * 60;
@ -977,21 +974,6 @@ BrowserGlue.prototype = {
}
},
_showPluginUpdatePage: function() {
// Pale Moon: disable this functionality from BrowserGlue, people are
// already notified if they visit a page with an outdated plugin, and
// they can check properly from the plugins page as well.
// Services.prefs.setBoolPref(PREF_PLUGINS_NOTIFYUSER, false);
//
// var formatter = Cc["@mozilla.org/toolkit/URLFormatterService;1"].
// getService(Ci.nsIURLFormatter);
// var updateUrl = formatter.formatURLPref(PREF_PLUGINS_UPDATEURL);
//
// var win = this.getMostRecentBrowserWindow();
// win.openUILinkIn(updateUrl, "tab");
},
/**
* Initialize Places
* - imports the bookmarks html file if bookmarks database is empty, try to