Skip to content

Commit 3b573bf

Browse files
authored
Update arkenfox-clear-RFP-alternatives.js
1 parent a231c1e commit 3b573bf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

scratchpad-scripts/arkenfox-clear-RFP-alternatives.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111

1212
(() => {
1313

14-
if ("undefined" === typeof(Services)) return alert('about:config needs to be the active tab!');
14+
if ('undefined' === typeof(Services)) return alert('about:config needs to be the active tab!');
1515

1616
const aPREFS = [
1717
/* section 4600 */
@@ -49,16 +49,16 @@
4949
if (Services.prefs.prefHasUserValue(sPname)) {
5050
Services.prefs.clearUserPref(sPname);
5151
if (!Services.prefs.prefHasUserValue(sPname)) {
52-
console.info("reset", sPname);
52+
console.info('reset', sPname);
5353
c++;
54-
} else console.warn("failed to reset", sPname);
54+
} else console.warn('failed to reset', sPname);
5555
}
5656
}
5757

5858
focus();
5959

60-
const d = (c==1) ? " pref" : " prefs";
61-
alert(c ? "successfully reset " + c + d + "\n\nfor details check the console" : 'nothing to reset');
60+
const d = (c==1) ? ' pref' : ' prefs';
61+
alert(c ? 'successfully reset ' + c + d + "\n\nfor details check the console" : 'nothing to reset');
6262

6363
return 'all done';
6464

0 commit comments

Comments
 (0)