Bitcoin Forum
September 20, 2024, 09:19:12 AM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Electrum.org website requires nonfree javascript to load  (Read 933 times)
Daily Anarchist (OP)
Hero Member
*****
Offline Offline

Activity: 614
Merit: 500



View Profile WWW
March 25, 2015, 09:33:34 PM
 #1

Hello,

To the Electrum.org webmaster,

Would you please get in touch with the Free Software Foundation and work towards making electrum.org fully functional for users like myself that run LibreJS and refuse to run nonfree javascript?

Bitcoinarmory.com works very well for users that run LibreJS.

Also, Bitcoinarmory.com has excellent video tutorials on its site. It would be great if Electrum.org did the same. Or perhaps you have already, in which case thank you. But I'm unable to see them because Electrum.org won't load without nonfree javascript.

Thank you!

Discover anarcho-capitalism today!
mishax1
Legendary
*
Offline Offline

Activity: 2898
Merit: 1017


View Profile
March 26, 2015, 07:40:56 AM
 #2

You should forward this to their thread - https://bitcointalk.org/index.php?topic=50936.0
Tachikoma
Hero Member
*****
Offline Offline

Activity: 938
Merit: 1000



View Profile WWW
March 26, 2015, 07:55:09 AM
 #3

Would you please get in touch with the Free Software Foundation and work towards making electrum.org fully functional for users like myself that run LibreJS and refuse to run nonfree javascript?

Bitcoinarmory.com works very well for users that run LibreJS.

I'm not the webmaster but I still would like to respond.

This sounds to me like I'm a vegan, going to a fancy three star restaurant and then demanding they prepare their star dishes without any animal product.

It's fine you want to have a certain lifestyle but going out and asking people to change their ways just so you can follow yours makes no sense in my humble opinion.

We are not talking about software that sends your data straight to the NSA here we are talking about a social widget that adds a facebook button to a site or shows a picture in a pretty way.

Electrum: the convenience of a web wallet, without the risks | Bytesized Seedboxes BTC/LTC supported
ThomasV
Moderator
Legendary
*
Offline Offline

Activity: 1896
Merit: 1353



View Profile WWW
March 26, 2015, 08:14:20 AM
 #4

OP: I would be happy to fix that, but I am no web deveoper.
could you show me what part of the javascript needs to be updated, and how to fix it?

Electrum: the convenience of a web wallet, without the risks
Daily Anarchist (OP)
Hero Member
*****
Offline Offline

Activity: 614
Merit: 500



View Profile WWW
March 26, 2015, 06:52:36 PM
 #5

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 = [
                '<div class="caption"><h3>',
element['title'], '</h3>',
                    '<p>', element['description'].join(''),
'</p>',
                    text_more,
                    '</div>',
                <!-- '<a href="', element['media'], '"
rel="prettyPhoto[featured]">', -->
                    '<img src="slides/', element['id'], '.png"
alt="', element['title'], '"/>'
                <!-- '</a>' -->
                ].join('');
                var item = $('<div></div>').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/

Discover anarcho-capitalism today!
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!