diff options
author | Jesús <heckyel@hyperbola.info> | 2021-01-09 22:58:04 -0500 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2021-01-09 22:58:04 -0500 |
commit | 62f96f35d471f7d0321636e78d5ae194eea6aae7 (patch) | |
tree | a13f865028fa2d5c11fc3c8bc9e67501f87dbef8 /data/display_panel/main_panel.js | |
parent | 20aebe3faab7f064b4fdfdfe2f9a8c920f7d5fb2 (diff) | |
download | librejsxul-62f96f35d471f7d0321636e78d5ae194eea6aae7.tar.lz librejsxul-62f96f35d471f7d0321636e78d5ae194eea6aae7.tar.xz librejsxul-62f96f35d471f7d0321636e78d5ae194eea6aae7.zip |
version 6.0.14
Rebrand of LibreJS under Unified XUL Platform
Diffstat (limited to 'data/display_panel/main_panel.js')
-rw-r--r-- | data/display_panel/main_panel.js | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/data/display_panel/main_panel.js b/data/display_panel/main_panel.js index c03b19d..9c10155 100644 --- a/data/display_panel/main_panel.js +++ b/data/display_panel/main_panel.js @@ -1,23 +1,23 @@ /** - * GNU LibreJS - A browser add-on to block nonfree nontrivial JavaScript. + * GNU LibreJSXUL - A browser add-on to block nonfree nontrivial JavaScript. * * * Copyright (C) 2011, 2012, 2014 Loic J. Duros * Copyright (C) 2014, 2015 Nik Nyby * - * This file is part of GNU LibreJS. + * This file is part of GNU LibreJSXUL. * - * GNU LibreJS is free software: you can redistribute it and/or modify + * GNU LibreJSXUL is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * - * GNU LibreJS is distributed in the hope that it will be useful, + * GNU LibreJSXUL is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License - * along with GNU LibreJS. If not, see <http://www.gnu.org/licenses/>. + * along with GNU LibreJSXUL. If not, see <http://www.gnu.org/licenses/>. */ var displayPanel = { complainButton: null, @@ -130,7 +130,7 @@ var displayPanel = { $el.data('librejs-url', item.url); li.prepend($el); } else if (item.reason.indexOf('whitelisted by user') > -1) { - // a hack until LibreJS version 6.1. Need to have a value attached + // a hack until LibreJSXUL version 6.1. Need to have a value attached // to item.whitelisted for this. $el = $( '<a class="small button white rm-whitelist">' + @@ -216,7 +216,7 @@ var displayPanel = { if (message.pageURL === 'resource://jid1-ktlzuoiikvffew-at-jetpack/librejs/data/settings/index.html' ) { - message.pageURL = "LibreJS Whitelist"; + message.pageURL = "LibreJSXUL Whitelist"; } $('#info').css({'opacity': 0}); $('h2.blocked-js').html( @@ -280,13 +280,13 @@ var displayPanel = { } } else { this.button1.hide(); - $('ul.blocked-js').append('<li>LibreJS did not block any scripts on this page: \n\n<ul><li>There may be no scripts on this page (check source, C-u).</li><li>All the scripts on this page may be trivial and/or free.</li><li>You may have whitelisted this domain name or url from the preferences (Type about:addons in your location bar to check)</li><li>You may have clicked the "allow all scripts" button, which causes LibreJS to load all JavaScript on a page regardless of whether it is free, trivial, nontrivial or nonfree. This policy is effective for the entire duration of a Firefox session.</li><li>If for any reason you think LibreJS should have blocked JavaScript code on this page, please report this issue to: <a id="report" href="mailto:bug-librejs@gnu.org" target="_blank">bug-librejs@gnu.org</a></li></ul></li>'); + $('ul.blocked-js').append('<li>LibreJSXUL did not block any scripts on this page: \n\n<ul><li>There may be no scripts on this page (check source, C-u).</li><li>All the scripts on this page may be trivial and/or free.</li><li>You may have whitelisted this domain name or url from the preferences (Type about:addons in your location bar to check)</li><li>You may have clicked the "allow all scripts" button, which causes LibreJSXUL to load all JavaScript on a page regardless of whether it is free, trivial, nontrivial or nonfree. This policy is effective for the entire duration of a Firefox session.</li><li>If for any reason you think LibreJSXUL should have blocked JavaScript code on this page, please report this issue to: <a id="report" href="mailto:bug-librejs@gnu.org" target="_blank">bug-librejs@gnu.org</a></li></ul></li>'); $('#report').attr( 'href', 'mailto:bug-librejs@gnu.org' + - '?subject=LibreJS bug report' + - '&body=LibreJS issue with page: ' + + '?subject=LibreJSXUL bug report' + + '&body=LibreJSXUL issue with page: ' + message.pageURL); } @@ -308,7 +308,7 @@ var displayPanel = { } else { $('ul.accepted-js').append( - '<li>LibreJS did not allow the execution of any scripts on this page: \n\n\'' + + '<li>LibreJSXUL did not allow the execution of any scripts on this page: \n\n\'' + '<ul>' + '<li>There may be no scripts on this page (check source, C-u)</li>' + '<li>The inline and on-page JavaScript code may not be free and/or may not have proper license information and external scripts (if present) may have been removed by default.</li>' + |