diff --git a/clearurls.js b/clearurls.js index 623df8a..1d09125 100644 --- a/clearurls.js +++ b/clearurls.js @@ -1,3 +1,21 @@ +/* + * ClearURLs + * Copyright (c) 2017-2019 Kevin Röbert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + /*jshint esversion: 6 */ /* * This script is responsible for the core functionalities. diff --git a/core_js/log.js b/core_js/log.js index fc90b10..10cfdbd 100644 --- a/core_js/log.js +++ b/core_js/log.js @@ -1,3 +1,21 @@ +/* + * ClearURLs + * Copyright (c) 2017-2019 Kevin Röbert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + /*jshint esversion: 6 */ /** * Get the log and display the data as table. @@ -41,11 +59,11 @@ function getLog() { for(var i=0; i"+log.log[i].before+"" - + ""+log.log[i].after+"" - + ""+log.log[i].rule+"" - + ""+toDate(log.log[i].timestamp)+""; + row = "" + + ""+log.log[i].before+"" + + ""+log.log[i].after+"" + + ""+log.log[i].rule+"" + + ""+toDate(log.log[i].timestamp)+""; $('#tbody').append(row); } } diff --git a/core_js/message_handler.js b/core_js/message_handler.js index 032a8d1..cc48d9b 100644 --- a/core_js/message_handler.js +++ b/core_js/message_handler.js @@ -1,3 +1,21 @@ +/* + * ClearURLs + * Copyright (c) 2017-2019 Kevin Röbert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + /*jshint esversion: 6 */ /* * This script is responsible for the communication between background and content_scripts. diff --git a/core_js/popup.js b/core_js/popup.js index badcc81..d48f21c 100644 --- a/core_js/popup.js +++ b/core_js/popup.js @@ -1,3 +1,21 @@ +/* + * ClearURLs + * Copyright (c) 2017-2019 Kevin Röbert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + /*jshint esversion: 6 */ var element = $("#statistics_value"); var elGlobalPercentage = $("#statistics_value_global_percentage"); diff --git a/core_js/settings.js b/core_js/settings.js index a3414af..5c65650 100644 --- a/core_js/settings.js +++ b/core_js/settings.js @@ -1,3 +1,21 @@ +/* + * ClearURLs + * Copyright (c) 2017-2019 Kevin Röbert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + var settings = []; getData(); diff --git a/core_js/storage.js b/core_js/storage.js index ca103cc..63c58ff 100644 --- a/core_js/storage.js +++ b/core_js/storage.js @@ -1,3 +1,21 @@ +/* + * ClearURLs + * Copyright (c) 2017-2019 Kevin Röbert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + /*jshint esversion: 6 */ /* * This script is responsible for the storage. diff --git a/core_js/tools.js b/core_js/tools.js index 1375231..15f83c0 100644 --- a/core_js/tools.js +++ b/core_js/tools.js @@ -1,3 +1,21 @@ +/* + * ClearURLs + * Copyright (c) 2017-2019 Kevin Röbert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + /*jshint esversion: 6 */ /* * This script is responsible for some tools. diff --git a/core_js/write_version.js b/core_js/write_version.js index a8dabda..10a02a4 100644 --- a/core_js/write_version.js +++ b/core_js/write_version.js @@ -1,3 +1,21 @@ +/* + * ClearURLs + * Copyright (c) 2017-2019 Kevin Röbert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + /** * This file writes only the version into every page. * @return version diff --git a/css/core.css b/css/core.css index 6c4d16d..0755803 100644 --- a/css/core.css +++ b/css/core.css @@ -1,3 +1,21 @@ +/* + * ClearURLs + * Copyright (c) 2017-2019 Kevin Röbert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + body { font-size: 13px; } diff --git a/css/switchButtons.css b/css/switchButtons.css index ac6c5fa..42b6863 100644 --- a/css/switchButtons.css +++ b/css/switchButtons.css @@ -1,3 +1,21 @@ +/* + * ClearURLs + * Copyright (c) 2017-2019 Kevin Röbert + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program 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 Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program. If not, see . + */ + /* * Stylesheet for the switch buttons. */ diff --git a/html/log.html b/html/log.html index 0497b77..c259fac 100644 --- a/html/log.html +++ b/html/log.html @@ -1,3 +1,22 @@ + + diff --git a/html/popup.html b/html/popup.html index 661f88d..4b49153 100644 --- a/html/popup.html +++ b/html/popup.html @@ -1,3 +1,22 @@ + + diff --git a/html/settings.html b/html/settings.html index 61b3870..4b24acf 100644 --- a/html/settings.html +++ b/html/settings.html @@ -1,3 +1,22 @@ + + diff --git a/html/siteBlockedAlert.html b/html/siteBlockedAlert.html index 9eaeb19..4ad2937 100644 --- a/html/siteBlockedAlert.html +++ b/html/siteBlockedAlert.html @@ -1,3 +1,22 @@ + + diff --git a/server/report_url.php b/server/report_url.php index b9516a4..40be365 100644 --- a/server/report_url.php +++ b/server/report_url.php @@ -1,4 +1,22 @@ . + */ + $servername = "..."; $username = "..."; $password = "...";