[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-librejs] LibreJS causes syntax errors
From: |
166291 |
Subject: |
[Bug-librejs] LibreJS causes syntax errors |
Date: |
Fri, 29 May 2015 20:44:58 +1000 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
Hello!
Recently I've installed LibreJS and tested it out with a few sites. Mainly
http://quitter.se/ and http://freepo.st/ . Despite white listing all of the
scripts, I've had odd behaviour. On Quitter, scripts output a syntax error about
illegal characters.
I've tried this with the Git version and dug around the source code for a while
before running out of time. I don't understand the architecture enough (yet) to
figure out what's happening, but I'm guessing it's to do with the odd comment
art used in Quitter's Javascript. Here's an example script:
https://quitter.se/plugins/Qvitter/js/ajax-functions.js?changed=20150305204204
It seems to be sent without the character encoding being declared, though
loading the site without LibreJS causes this to work fine. Only with it does it
suffer syntax errors.
Oddly enough, the syntax errors for that particular script is on line 102 which
seems arbitrary. Multiple scripts have these errors and they're all offset from
these comments blocks.
I hope this gets resolved,
Jookia.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Bug-librejs] LibreJS causes syntax errors,
166291 <=