bug-librejs
[Top][All Lists]
Advanced

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

[bug #62823] librejs blocking scripts with license info on fsf member fo


From: Andrew Engelbrecht
Subject: [bug #62823] librejs blocking scripts with license info on fsf member forum
Date: Wed, 27 Jul 2022 12:54:31 -0400 (EDT)

URL:
  <https://savannah.gnu.org/bugs/?62823>

                 Summary: librejs blocking scripts with license info on fsf
member forum
                 Project: LibreJS
               Submitter: sudoman
               Submitted: Wed 27 Jul 2022 12:54:30 PM EDT
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 27 Jul 2022 12:54:30 PM EDT By: Andrew Engelbrecht <sudoman>
Hi Yuchen,

Any idea why this code is blocked? I got the magnet string from
https://www.gnu.org/software/librejs/free-your-javascript.html

    &lt;script&gt;
      // @license
magnet:?xt=urn:btih:8e4f440f4c65981c5bf8e4f440f4c65981c5bf93c76d35135ba5064d8b793c76d35135ba5064d8b7&dn=apache-2.0.txt
Apache 2.0
      $('#main-outlet').parent().hide();
      // @license-end


    &lt;script&gt;/* LibreJS: script blocked. */
/*
LIBREJS BLOCKED: NONTRIVIAL: nontrivial token: 'parent'
*/&lt;/script&gt;

I also have the following license higher up on the page template, but other
code on that page is also blocked. It may be that the blocked code is loaded
before the template with the license text, so this might be red herring.
anyhow:

    &lt;script&gt;
    /*
    @licstart  The following is the entire license notice for the 
    JavaScript code in this page.

    Copyright (C) 2013-2022 Discourse developers

    The JavaScript code in this page is free software: you can
    redistribute it and/or modify it under the terms of the GNU
    General Public License (GNU GPL) as published by the Free Software
    Foundation, either version 2 of the License, or (at your option)
    any later version.  The code is distributed WITHOUT ANY WARRANTY;
    without even the implied warranty of MERCHANTABILITY or FITNESS
    FOR A PARTICULAR PURPOSE.  See the GNU GPL for more details.

    @licend  The above is the entire license notice
    for the JavaScript code in this page.
    */
        &lt;/script&gt;

The reason for the custom code is because &lt;noscript&gt; tags are active on
the forum, causing the non-JS version of the site to appear at the top of the
page, despite only one or two scripts being blocked by LibreJS when browsing
in a private window.

Any thoughts?

Thanks, : )
Andrew









    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?62823>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/




reply via email to

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