help-librejs
[Top][All Lists]
Advanced

[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: Wed, 15 Oct 2014 23:53:49 -0300

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:

http://freedomsponsors.org/static/js/issuecards/issuecards.html

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?

rootstrikers.org is an AngularJS application that's working with LibreJS. You can see the source here: https://gitorious.org/rootstrikers-org/rootstrikers-org
I think the Angular application is in the client/app directory.


Nik

Attachment: issuecards_html_with_librejs.png
Description: PNG image

Attachment: issuecards_html_without_librejs.png
Description: PNG image


reply via email to

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