aboutsummaryrefslogtreecommitdiffstats
path: root/lib/html_script_finder/dom_handler
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 /lib/html_script_finder/dom_handler
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 'lib/html_script_finder/dom_handler')
-rw-r--r--lib/html_script_finder/dom_handler/attributes.js10
-rw-r--r--lib/html_script_finder/dom_handler/dom_checker.js10
-rw-r--r--lib/html_script_finder/dom_handler/dom_gatherer.js14
-rw-r--r--lib/html_script_finder/dom_handler/request.js10
-rw-r--r--lib/html_script_finder/dom_handler/script_object.js12
-rw-r--r--lib/html_script_finder/dom_handler/script_properties.js10
6 files changed, 33 insertions, 33 deletions
diff --git a/lib/html_script_finder/dom_handler/attributes.js b/lib/html_script_finder/dom_handler/attributes.js
index ac603fe..f493953 100644
--- a/lib/html_script_finder/dom_handler/attributes.js
+++ b/lib/html_script_finder/dom_handler/attributes.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, 2013, 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/>.
*/
// object model for script entries.
diff --git a/lib/html_script_finder/dom_handler/dom_checker.js b/lib/html_script_finder/dom_handler/dom_checker.js
index b4d27b2..cdf5edd 100644
--- a/lib/html_script_finder/dom_handler/dom_checker.js
+++ b/lib/html_script_finder/dom_handler/dom_checker.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, 2013, 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/>.
*/
/**
diff --git a/lib/html_script_finder/dom_handler/dom_gatherer.js b/lib/html_script_finder/dom_handler/dom_gatherer.js
index ce29cf6..c9abf56 100644
--- a/lib/html_script_finder/dom_handler/dom_gatherer.js
+++ b/lib/html_script_finder/dom_handler/dom_gatherer.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, 2013, 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 scriptProperties = require("./script_properties");
@@ -246,9 +246,9 @@ DomGatherer.prototype.gatherScriptsContent = function() {
} else if (this.d.domScripts[i].text !== '') {
// using else if since script text is
// ignored if src attribute is set.
- // adding this.narcissusBugFixLibreJS to fix comment bug.
+ // adding this.narcissusBugFixLibreJSXUL to fix comment bug.
var bugfix = require('../../html_script_finder/bug_fix')
- .narcissusBugFixLibreJS;
+ .narcissusBugFixLibreJSXUL;
currentScript = stripHtmlCommentsInScript(
this.d.domScripts[i].text + bugfix);
diff --git a/lib/html_script_finder/dom_handler/request.js b/lib/html_script_finder/dom_handler/request.js
index f25ba8f..2cbb411 100644
--- a/lib/html_script_finder/dom_handler/request.js
+++ b/lib/html_script_finder/dom_handler/request.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, 2013, 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 timer = require("sdk/timers");
diff --git a/lib/html_script_finder/dom_handler/script_object.js b/lib/html_script_finder/dom_handler/script_object.js
index 64468b4..ac21cab 100644
--- a/lib/html_script_finder/dom_handler/script_object.js
+++ b/lib/html_script_finder/dom_handler/script_object.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, 2013, 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 removedScripts = require("../../script_entries/removed_scripts")
@@ -185,7 +185,7 @@ Script.prototype.tagAsDryRun = function(pageURL, reason, hash) {
*
*/
Script.prototype.removeNarcissusBugLine = function(str) {
- return str.replace('\n\nthis.narcissusBugFixLibreJS', '');
+ return str.replace('\n\nthis.narcissusBugFixLibreJSXUL', '');
};
/**
diff --git a/lib/html_script_finder/dom_handler/script_properties.js b/lib/html_script_finder/dom_handler/script_properties.js
index 07af983..1faad95 100644
--- a/lib/html_script_finder/dom_handler/script_properties.js
+++ b/lib/html_script_finder/dom_handler/script_properties.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, 2013, 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/>.
*/
exports.scriptTypes = {