From 7b3839d22a8e6c0fd763eb9f2151d500dc6d03f9 Mon Sep 17 00:00:00 2001 From: Ruben Rodriguez Date: Fri, 11 May 2018 14:07:55 -0400 Subject: Correct hack that prevents parsing non-html documents. Still needs work. --- main_background.js | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/main_background.js b/main_background.js index 00aae37..a5b43be 100644 --- a/main_background.js +++ b/main_background.js @@ -1284,10 +1284,12 @@ function read_document(a){ var res = test_url_whitelisted(a.url); res.then(function(whitelisted){ var edit_page; - if(! str.includes("