mirror of
				https://github.com/arkenfox/user.js.git
				synced 2025-11-03 23:35:26 +01:00 
			
		
		
		
	Update arkenfox-clear-RFP-alternatives.js
This commit is contained in:
		@@ -11,7 +11,7 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
(() => {
 | 
					(() => {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  if ("undefined" === typeof(Services)) return alert('about:config needs to be the active tab!');
 | 
					  if ('undefined' === typeof(Services)) return alert('about:config needs to be the active tab!');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const aPREFS = [
 | 
					  const aPREFS = [
 | 
				
			||||||
    /* section 4600 */
 | 
					    /* section 4600 */
 | 
				
			||||||
@@ -49,16 +49,16 @@
 | 
				
			|||||||
    if (Services.prefs.prefHasUserValue(sPname)) {
 | 
					    if (Services.prefs.prefHasUserValue(sPname)) {
 | 
				
			||||||
      Services.prefs.clearUserPref(sPname);
 | 
					      Services.prefs.clearUserPref(sPname);
 | 
				
			||||||
      if (!Services.prefs.prefHasUserValue(sPname)) {
 | 
					      if (!Services.prefs.prefHasUserValue(sPname)) {
 | 
				
			||||||
        console.info("reset", sPname);
 | 
					        console.info('reset', sPname);
 | 
				
			||||||
        c++;
 | 
					        c++;
 | 
				
			||||||
      } else console.warn("failed to reset", sPname);
 | 
					      } else console.warn('failed to reset', sPname);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  focus();
 | 
					  focus();
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  const d = (c==1) ? " pref" : " prefs";
 | 
					  const d = (c==1) ? ' pref' : ' prefs';
 | 
				
			||||||
  alert(c ? "successfully reset " + c + d + "\n\nfor details check the console" : 'nothing to reset');
 | 
					  alert(c ? 'successfully reset ' + c + d + "\n\nfor details check the console" : 'nothing to reset');
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  return 'all done';
 | 
					  return 'all done';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user