▲ | honodk123 a month ago | |
This looks great! I would love to give Defuddle a try as a Readability replacement. However, for my use case I want to do in a Chrome extension background script (service worker). I have not been able to get Defuddle to work, while readability does (when combining with linkedom). So basically, while this works:
This does not:
I get errors like:- Error in findExtractor: TypeError: Failed to construct 'URL': Invalid URL - Defuddle: Error evaluating media queries: TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) - Defuddle Error processing document: TypeError: b.getComputedStyle is not a function Is there a way to run Defuddle in a chrome extension background script/service worker? Or do you have any plans of adding support for that? |