Blocklisting/Testing

Testing Staged Blocklist

To test a staged block:

  1. Go to about:config, find the extensions.blocklist.url pref and change the addons.mozilla.org part of the value to addons.allizom.org

Forcing a Blocklist Ping

  1. Open Error Console
  2. Paste and run this snippet:
 Components.classes["@mozilla.org/extensions/blocklist;1"].getService(Components.interfaces.nsITimerCallback).notify(null);

Testing Graphics Blocklist entries

(Note: this only applies to Windows.)

  1. If the blocklist entry is on staging, see above for testing a staged blocklist first.
  2. Ensure you're currently hardware accelerated by opening about:support and looking at the Graphics section. Check that you have:
    1. Direct2D true (if on Windows 7 or Vista with the platform update)
    2. Hardware accelerated windows 1/1 Direct3D 9 (or 10)
  3. Force a blocklist ping, as above.
  4. Wait 5 seconds.
  5. Restart your browser.
  6. Open about:support and look at the Graphics section again. Ensure that:
    1. Direct2D is false
    2. Hardware accelerated windows 0/1

Spoofing Hardware Details for Blocklist Testing

Sometimes you don't have hardware or software available to test a given blocklist entry. On Windows, you can spoof your hardware and software details to the graphics blacklist using environment variables.