Permalink
Browse files

Filter resource urls away from Like

  • Loading branch information...
1 parent 934d823 commit f42ecda0723891cdccaeb06f7835e73558924b75 @brianking brianking committed Dec 8, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 chrome/content/toolbar.js
@@ -294,7 +294,7 @@ var facebook = {
},
/**
- * Check a url for irregular types (about:, chrome:)
+ * Check a url for irregular types (about:, chrome:, resource:)
* @parameter aUrl - the url to check
* @return boolean true to filter out (not use the url), false to let it through
*/
@@ -306,7 +306,7 @@ var facebook = {
var scheme = ioService.extractScheme(aUrl);
// Weed out about and chrome urls
fbLib.debug("Loading " + scheme + "url...");
- if (scheme == "about" || scheme == "chrome")
+ if (scheme == "about" || scheme == "chrome" || scheme == "resource")
return true;
}
return false;

0 comments on commit f42ecda

Please sign in to comment.