On 09/06/2018 12:45 PM, Dedeco Balaco wrote: > > Em 06-09-2018 12:48, Ruben Rodriguez escreveu: >> On 09/06/2018 08:16 AM, Pelle Hjek wrote: >>> >>> [...] >>> >>> So, this is perhaps a LibreJS bug, no? Regardless, it would be nice >>> if LibreJS would be a little bit more specific and/or verbose in its >>> reasons for blocking scripts, or at least have an option to enable >>> this. Or maybe LibreJS already has a debug/verbose mode that I just >>> haven't been able to find? >> >> [...] >> >> There is a debug mode but you have to enable it in the code and build >> the xpi with it. I'll see about having that be a user setting instead. >> > > If the needed change it just to change some false to true in the code > (or anything similar), you can do that Vim (and probably other good text > editors). Vim may open the XPI file (it is a zip file), and you may edit > any file inside it. The "recompile" step will be simply to save your > changes inside Vim. > > I have edited Firefox XPI files this way. The changed files work just fine. > > Where is the code is that change to enable debug mode?
Search for PRINT_DEBUG in bundle.js (or main_background.js if instead you want to build from source).
signature.asc
Description: OpenPGP digital signature
