We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 096772b + 5aa5555 commit 4d30886Copy full SHA for 4d30886
common/content/sanitizer.js
@@ -107,16 +107,17 @@ const Sanitizer = Module("sanitizer", {
107
108
let items = args.map(Sanitizer.argToPref);
109
for (let item of items) {
110
- if (sanitizer.canClearItem(item, function () {})) {
111
- try {
112
- sanitizer.clearItem(item);
113
- }
114
- catch (e) {
115
- liberator.echoerr("Error sanitizing " + item + ": " + e);
116
117
118
- else
119
- liberator.echomsg("Cannot sanitize " + item);
+
+ if (services.get("vc").compare(VERSION, "45.*") != 1) {
+ sanitizer.canClearItem(item, function () {});
+ }
+ try {
+ sanitizer.clearItem(item);
+ catch (e) {
+ liberator.echoerr("Error sanitizing " + item + ": " + e);
120
121
}
122
123
},
0 commit comments