Aurore54F/DoubleX

No support for a missing background page / content script

Luca-Pistor opened this issue · 1 comments

Currently, DoubleX will throw an error if its command-line invocation is missing either a -cs or -bp argument. We can work around this by creating a blank text file to process as an empty argument, but support for extensions without content scripts (resp. background pages) would be useful.

Fixed, thanks. Parameters -cs and -bp are now optional. If nothing is specified an empty JS file from the folder empty will be analyzed.

Note: to extract content scripts and background scripts from an extension, the src/unpack_extension.py script can be called, though.