mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-08-15 08:53:07 +09:00
[Pale-Moon] Issue MoonchildProductions/UXP#1644 - Remove plugin check leftovers (front-end)
Includes appropriate platform pointer update.
This commit is contained in:
parent
ef11a4d7e8
commit
347bfc5741
3 changed files with 1 additions and 31 deletions
|
|
@ -683,9 +683,6 @@ pref("plugins.hide_infobar_for_outdated_plugin", false);
|
|||
// Pale Moon:pref to always show the plugin indicator or not (default=false)
|
||||
pref("plugins.always_show_indicator", false);
|
||||
|
||||
pref("plugins.update.url", "https://aus.palemoon.org/plugincheck/");
|
||||
pref("plugins.update.notifyUser", false);
|
||||
|
||||
//Enable tri-state option (Always/Never/Ask)
|
||||
pref("plugins.click_to_play", true);
|
||||
|
||||
|
|
|
|||
|
|
@ -332,12 +332,6 @@ var gPluginHandler = {
|
|||
BrowserOpenAddonsMgr("addons://list/plugin");
|
||||
},
|
||||
|
||||
// Callback for user clicking on the link in a click-to-play plugin
|
||||
// (where the plugin has an update)
|
||||
openPluginUpdatePage: function(aEvent) {
|
||||
openURL(Services.urlFormatter.formatURLPref("plugins.update.url"));
|
||||
},
|
||||
|
||||
// Callback for user clicking a "reload page" link
|
||||
reloadPage: function(browser) {
|
||||
browser.reload();
|
||||
|
|
@ -524,10 +518,7 @@ var gPluginHandler = {
|
|||
}
|
||||
|
||||
let url;
|
||||
// TODO: allow the blocklist to specify a better link, bug 873093
|
||||
if (pluginInfo.blocklistState == Ci.nsIBlocklistService.STATE_VULNERABLE_UPDATE_AVAILABLE) {
|
||||
url = Services.urlFormatter.formatURLPref("plugins.update.url");
|
||||
} else if (pluginInfo.blocklistState != Ci.nsIBlocklistService.STATE_NOT_BLOCKED) {
|
||||
if (pluginInfo.blocklistState != Ci.nsIBlocklistService.STATE_NOT_BLOCKED) {
|
||||
url = Services.blocklist.getPluginBlocklistURL(pluginInfo.pluginTag);
|
||||
}
|
||||
pluginInfo.detailsLink = url;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue