Post
Topic
Board Electrum
Re: Electrum.org website requires nonfree javascript to load
by
Daily Anarchist
on 26/03/2015, 18:52:36 UTC
This is what LibreJS shows me:

Code:
List of accepted JavaScript in https://electrum.org/

    This script has been tagged as free software by LibreJS authors.
    https://electrum.org/js/jquery-1.7.1.min.js

List of blocked JavaScript in https://electrum.org/



    This script is detected as inline, nonfree, defining functions or
methods, and the rest of the page as loading external scripts

        $(document).ready(function(){
                $.getJSON('projects.json', function(data) {
       
                // format all projects
                $(data).each(function (index, element) {
                var text_more = element['raw_link'];
                if ( element['featured'] != 1 )
                return;
                text_more = element['raw_link'];
                if ( text_more == undefined )
                text_more = '';
                var html = [
                '

',
element['title'], '

',
                    '

', element['description'].join(''),
'

',
                    text_more,
                    '
',
               
                    'alt="', element['title'], '"/>'
               
                ].join('');
                var item = $('
').html(html);
                $('#slides').append(item);
                });

                $("a[rel^='panelg']").click…

   NONTRIVIAL: eval has been found in code
    https://electrum.org/js/jquery.scrollTo-1.4.2-min.js
    NONTRIVIAL: innerHTML identifier
    https://electrum.org/js/jquery.prettyPhoto.js
    This script is detected as nonfree, external, and as
defining functions or methods
    https://electrum.org/js/jquery.cycle.lite.js
    This script is detected as nonfree, external, and as
defining functions or methods
    https://electrum.org/js/jquery.client.js
    This script is detected as nonfree, external, and as
defining functions or methods
    https://electrum.org/js/jquery.socialbutton-1.8.0.js
    This script is detected as nonfree, external, and as
defining functions or methods
    https://electrum.org/js/electrum.js

Here is a link to the instructions on what LibreJS is and how to free your javascript. Thank you!!

https://www.gnu.org/software/librejs/