help-librejs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-librejs] Page never renders with LibreJS extension enabled


From: Loic J. Duros
Subject: Re: [Help-librejs] Page never renders with LibreJS extension enabled
Date: Mon, 05 Nov 2012 21:13:36 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux)

Hi Mark:

Thanks for reporting this issue. First of all, may I ask you what
version of LibreJS you are using as well as what version of
Firefox/IceCat/IceWeasel/Abrowser you are using? 

Whenever LibreJS encounters a link with the rel="jslicense", it will
attempt to read that page and return a list of allowed scripts. Because
LibreJS needs to figure out what scripts are allowed before it actually
passes the response body (the HTML) back to Firefox for parsing,
it will be "spinning" until the job is done. If the page is
unresponsive, then it should spin like this for a while until a timer
times out (about 30 to 60 seconds, I believe, although I'll check in the
code again.)

I just tested LibreJS 4.9 on the following page and could not reproduce
the issue
http://lduros.net/assets/librejs/tests/test-labels/

As you can see on that page, there is a link for the licenses that leads
to the following:
http://lduros.net/assets/librejs/tests/test-labels/js-licenses.html

There is a good chance you may have found a bug in LibreJS with your
particular setup and the main page along with the js web labels
page. The first thing to check is whether the <a> tag actually links to
an existing html page and that this page is available. I'd be interested
if you were willing to provide a copy of both the main page and the js
web labels page to this mailing list or to me personally if you don't
want to share it. Or maybe you could create a simpler case that
reproduces the issue so we can help you troubleshoot it?

Thanks again for reporting this issue, and above all for your interest
in making your free JavaScript detectable!

Loic


mark burdett <address@hidden> writes:

> Hi, I am trying to make the javascript on a site compatible with LibreJS
> by adding appropriate metatags etc.  I got the sylized comment in HTML
> working just fine. However, as soon as I add the link to the web label
> page - <a href="/librejs/jslicense" rel="jslicense">JavaScript license
> information</a> - Firefox fails to render the page when LibreJS is
> enabled.  The page is white and the progress indicator just spins forever.
>
> Does anyone have suggestions for how to debug this issue?
>
> Thanks,
>
> --mark B.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]