<!doctype html> <html> <head> <meta charset="utf-8"/> <!-- /** * GNU LibreJS - A browser add-on to block nonfree nontrivial JavaScript. * * * Copyright (C) 2011, 2012, 2014 Loic J. Duros * Copyright (C) 2014, 2015 Nik Nyby * Copyright (C) 2018 Giorgio Maone * * This file is part of GNU LibreJS. * * GNU LibreJS 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, * 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/>. */ --> <title> LibreJS preferences </title> <link rel="stylesheet" type="text/css" href="./prefs.css"/> <script src="/html/mobile.js"></script> <script type="text/javascript" src="/common/Storage.js"></script> <script type="text/javascript" src="pref.js"></script> </head> <body> <div class="libre"> <a class="libre" id="ljs-settings" href="https://www.gnu.org/software/librejs/" title="LibreJS Settings"> <h1 class="libre">LibreJS</h1> </a> <h3>Settings</h3> </div> <div id="widgets"> <fieldset id="section-lists"><legend>Allow or block scripts matching the following URLs ("*."" matches any subdomain, "/*" matches any path)</legend> <label>Type a new whitelist / blacklist entry:</label> <div id="new-site"> <input type="text" id="site" value="" placeholder="https://*.gnu.org/*"> <button id="cmd-whitelist-site" class="white" title="Whitelist this site" default>Whitelist</button> <button id="cmd-blacklist-site" class="red" title="Blacklist this site">Blacklist</button> </div> <div id="site-error" class="error-msg"></div> <div id="lists"> <div class="white list-container"> <label>Whitelist (always allow)</label> <select id="white" multiple size="10"></select> </div> <div id="commands"> <button id="cmd-delete" title="Delete">x</button> <button id="cmd-blacklist" title="Move to blacklist">»</button> <button id="cmd-whitelist" title="Move to whitelist">«</button> </div> <div class="black list-container"> <label>Blacklist (always block)</label> <select id="black" multiple size="10"></select> </div> </div> </fieldset> <fieldset id="section-complaint"><legend>Complaint email defaults</legend> <label for="pref_subject">Subject</label> <input id="pref_subject" type="text"/> <label for="pref_body">Body</label> <textarea id="pref_body" rows="5"></textarea> </fieldset> </div> </body> </html>