Skip to content
Browse files

Add compatibility rules for Dr. Web Link Checker. (Fixes #287)

  • Loading branch information...
1 parent 00145c6 commit a0220d57039ea23692134bc05dccb13788b7684c @jsamuel jsamuel committed Feb 4, 2012
Showing with 6 additions and 0 deletions.
  1. +6 −0 src/components/requestpolicyService.js
View
6 src/components/requestpolicyService.js
@@ -199,6 +199,7 @@ RequestPolicyService.prototype = {
idArray.push("{c45c406e-ab73-11d8-be73-000a95be3b12}"); // Web Developer
idArray.push("{c07d1a49-9894-49ff-a594-38960ede8fb9}"); // Update Scanner
idArray.push("FirefoxAddon@similarWeb.com"); // SimilarWeb
+ idArray.push("{6614d11d-d21d-b211-ae23-815234e1ebb5}"); // Dr. Web Link Checker
try {
// For Firefox <= 3.6.
@@ -296,6 +297,11 @@ RequestPolicyService.prototype = {
this._compatibilityRules.push(["http://www.similarweb.com/",
"http://go.similarsites.com/", ext.name]);
break;
+ case "{6614d11d-d21d-b211-ae23-815234e1ebb5}" : // Dr. Web Link Checker
+ requestpolicy.mod.Logger.info(requestpolicy.mod.Logger.TYPE_INTERNAL,
+ "Using extension compatibility rules for: " + ext.name);
+ this._compatibilityRules.push([null, "http://st.drweb.com/", ext.name]);
+ break;
default :
requestpolicy.mod.Logger.severe(requestpolicy.mod.Logger.TYPE_INTERNAL,
"Unhandled extension (id typo?): " + ext.name);

0 comments on commit a0220d5

Please sign in to comment.
Something went wrong with that request. Please try again.