Blocklisting/Testing: Difference between revisions

From MozillaWiki
Jump to navigation Jump to search
(Created page with "= Testing Blocklist = To test a staged block: # Go to about:config and change the <code>services.addons.mozilla.org</code> part of the URL to <code>addons.allizom.org</code> # ...")
 
No edit summary
Line 3: Line 3:
To test a staged block:
To test a staged block:


# Go to about:config and change the <code>services.addons.mozilla.org</code> part of the URL to <code>addons.allizom.org</code>
# Go to about:config and change the <code>addons.mozilla.org</code> part of the URL to <code>addons.allizom.org</code>
# Open Error Console
# Open Error Console
# Paste and run this snippet:
# Paste and run this snippet:
   Components.classes["@mozilla.org/extensions/blocklist;1"].getService(Components.interfaces.nsITimerCallback).notify(null);
   Components.classes["@mozilla.org/extensions/blocklist;1"].getService(Components.interfaces.nsITimerCallback).notify(null);

Revision as of 19:03, 10 February 2011

Testing Blocklist

To test a staged block:

  1. Go to about:config and change the addons.mozilla.org part of the URL to addons.allizom.org
  2. Open Error Console
  3. Paste and run this snippet:
 Components.classes["@mozilla.org/extensions/blocklist;1"].getService(Components.interfaces.nsITimerCallback).notify(null);