[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-librejs] LibreJS not detecting web labels (just a small comment
From: |
Ruben Rodriguez |
Subject: |
Re: [Bug-librejs] LibreJS not detecting web labels (just a small comment about XPI files) |
Date: |
Thu, 6 Sep 2018 14:38:20 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Icedove/52.9.1 |
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