aboutsummaryrefslogtreecommitdiffstats
path: root/data/display_panel
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-01-09 22:58:04 -0500
committerJesús <heckyel@hyperbola.info>2021-01-09 22:58:04 -0500
commit62f96f35d471f7d0321636e78d5ae194eea6aae7 (patch)
treea13f865028fa2d5c11fc3c8bc9e67501f87dbef8 /data/display_panel
parent20aebe3faab7f064b4fdfdfe2f9a8c920f7d5fb2 (diff)
downloadlibrejsxul-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')
-rw-r--r--data/display_panel/content/README2
-rw-r--r--data/display_panel/content/display-panel.html24
-rw-r--r--data/display_panel/content/panel-styles.css10
-rw-r--r--data/display_panel/main_panel.js22
4 files changed, 29 insertions, 29 deletions
diff --git a/data/display_panel/content/README b/data/display_panel/content/README
index a56ea46..cb4de9b 100644
--- a/data/display_panel/content/README
+++ b/data/display_panel/content/README
@@ -1,5 +1,5 @@
/**
- * 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
*
diff --git a/data/display_panel/content/display-panel.html b/data/display_panel/content/display-panel.html
index 68d203e..61d879f 100644
--- a/data/display_panel/content/display-panel.html
+++ b/data/display_panel/content/display-panel.html
@@ -6,7 +6,7 @@
<link rel="stylesheet" type="text/css" href="./panel-styles.css"/>
<!-- /**
- * 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
*
@@ -30,20 +30,20 @@
<body>
<div class="title-area">
<div>
- <a class="libre"
- id="ljs-settings"
- href="javascript:void"
- title="LibreJS Whitelist Settings">
- <h1 class="libre">LibreJS</h1>
- </a>
+ <h1 class="libre">
+ <a title="LibreJSXUL Whitelist Settings"
+ id="ljs-settings"
+ href="javascript:void"
+ class="libre">LibreJSXUL</a>
+ </h1>
</div>
<div>
- <a target="_blank" href="https://www.gnu.org/software/librejs/"
- id="librejs-web-link"
- >gnu.org/software/librejs</a>
+ <a id="librejs-web-link"
+ href="https://wiki.hyperbola.info/doku.php?id=en:project:iceweasel-uxp_addons"
+ target="_blank">Addons for Iceweasel-UXP</a>
</div>
<div>
- <strong>LibreJS 6.0.13</strong>
+ <strong>LibreJSXUL 6.0.14</strong>
</div>
</div>
@@ -60,7 +60,7 @@
<div id="blocked">
<h2 class="blocked-js"></h2>
- <ul class="blocked-js">
+ <ul class="blocked-js"></ul>
</div>
<div id="librejs-web-labels-pages">
diff --git a/data/display_panel/content/panel-styles.css b/data/display_panel/content/panel-styles.css
index 2e5223b..da69824 100644
--- a/data/display_panel/content/panel-styles.css
+++ b/data/display_panel/content/panel-styles.css
@@ -1,5 +1,5 @@
/**
- * 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
*
@@ -97,7 +97,7 @@ ul.blocked-js ul li, ul.accepted-js ul li, ul.dryrun-js ul li {
margin:10px;
}
-/*
+/*
Pure JS button styles below taken from:
http://webdesignerwall.com/tutorials/css3-gradient-buttons
*/
@@ -110,7 +110,7 @@ ul.blocked-js ul li, ul.accepted-js ul li, ul.dryrun-js ul li {
font: 14px/100% Arial, Helvetica, sans-serif;
padding: .5em 2em .55em;
text-shadow: 0 1px 1px rgba(0,0,0,.3);
- -webkit-border-radius: .5em;
+ -webkit-border-radius: .5em;
-moz-border-radius: .5em;
border-radius: .5em;
-webkit-box-shadow: 0 1px 2px rgba(0,0,0,.2);
@@ -158,7 +158,7 @@ ul.blocked-js ul li, ul.accepted-js ul li, ul.dryrun-js ul li {
.white:active {
background: -moz-linear-gradient(center top , #EDEDED, #FFFFFF) repeat scroll 0 0 transparent;
/*color: #999999;*/
-
+
}
span.accepted, span.blocked {
@@ -187,4 +187,4 @@ span.blocked {
margin-top: 8px;
font-size: 14px;
list-style-type: disc;
-} \ No newline at end of file
+}
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>' +