mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-03 19:44:11 +01:00
Remove 'online' definition from Browser.
This is currently config specific.
This commit is contained in:
@@ -81,20 +81,6 @@ function Browser() //{{{
|
||||
validator: Option.validateCompleter
|
||||
});
|
||||
|
||||
options.add(["online"],
|
||||
"Set the 'work offline' option",
|
||||
"boolean", true,
|
||||
{
|
||||
setter: function (value)
|
||||
{
|
||||
const ioService = services.get("io");
|
||||
if (ioService.offline == value)
|
||||
BrowserOffline.toggleOfflineStatus();
|
||||
return value;
|
||||
},
|
||||
getter: function () !services.get("io").offline
|
||||
});
|
||||
|
||||
// only available in FF 3.5
|
||||
services.add("privateBrowsing", "@mozilla.org/privatebrowsing;1", Ci.nsIPrivateBrowsingService);
|
||||
if (services.get("privateBrowsing"))
|
||||
|
||||
Reference in New Issue
Block a user