Skip to content

Commit

Permalink
fixes nytimes.com #9
Browse files Browse the repository at this point in the history
  • Loading branch information
rushilsrivastava committed Nov 18, 2019
1 parent 81d679f commit 8b87467
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/js/background.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ browser = typeof browser !== "undefined" ? browser : chrome;
browser.webRequest.onBeforeRequest.addListener(function(details) {
var url = new URL(details.url).hostname
console.log(`OpenNews [DEBUG]: Blocking Paywall Javascripts from ${url}`);
console.log(details.url)
return {
cancel: true
};
Expand Down

0 comments on commit 8b87467

Please sign in to comment.