[Top][All Lists]

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

Re: [Help-librejs] Can anyone help me set FreedomSponsors javascript fre

From: Tony França
Subject: Re: [Help-librejs] Can anyone help me set FreedomSponsors javascript free?
Date: Thu, 16 Oct 2014 00:08:30 -0300

rootstrikers: yeah - that helped a lot.

They also use angular templates (those html snippets) but instead of loading them with new http requests, their templates are all cached in a single minified file.

That will work for me too - I know what I have to do now.


I still think it's weird for librejs to be changing contents for requests like that (specially when they are made with ajax) - can anyone comment on that?

On Wed, Oct 15, 2014 at 11:53 PM, Tony França <address@hidden> wrote:
Humm, I debugged it a little bit and I think I found the cause for my particular problem: 
librejs seems to be changing the contents of the response of http requests that contain html code.

My website uses AngularJS - and as such some snippets of html are retrieved from the server at runtime.
One of such html files is called issuecards.html.

This is what the browser receives from the server without librejs enabled:

[Attachment: issuecards_html_without_librejs.png]

And this is the same file retrieved with librejs enabled:

[Attachment: issuecards_html_with_librejs.png]

You can probably reproduce this behaviour by pointing firefox to:

Should librejs really be allowed to intercept and change http requests like this?
What is the best way to fix this problem for my website?

Note: I still didn't look at that rootstrikers. Will do very soon. Thanks!

On Wed, Oct 15, 2014 at 6:35 PM, Nik Nyby <address@hidden> wrote:
Hi Tony,
I'm glad you got the site working with web labels.
I'm guessing maybe librejs and AngularJS don't play too well? Is there any known issue regarding about librejs and Angular? is an AngularJS application that's working with LibreJS. You can see the source here:
I think the Angular application is in the client/app directory.


reply via email to

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