mirror of
https://gitlab.com/KevinRoebert/ClearUrls
synced 2025-12-16 06:05:37 +07:00
ClearURLs v.1.6
- Added listener to the browser history to prevent tracking with the [history.pushState method](https://developer.mozilla.org/en-US/docs/Web/API/History_API) - Added webNavigation and tabs permissions, for the new feature - Added switches in settings to enable and disable the context menu entry and the history listener - Added tool to clean URLs, that was pasted into a textbox - Added icon for new tool to clean URLs - Fixed [#40](https://gitlab.com/KevinRoebert/ClearUrls/issues/40), see also https://curl.kevinroebert.de - Fixed [#103](https://gitlab.com/KevinRoebert/ClearUrls/issues/103), see also https://curl.kevinroebert.de - Changed clipboard-helper.js path to be absolute to prevent problems - Changed rewrite of old GitHub links to the new data.min.json and rules.min.hash - Config icon is now bigger and above the config label - Update Traditional Chinese Translation by [@yipinghuang](https://gitlab.com/yipinghuang) #161 #162 #157 #40 #103 #158
This commit is contained in:
87
html/cleaningTool.html
Normal file
87
html/cleaningTool.html
Normal file
@@ -0,0 +1,87 @@
|
||||
<!--
|
||||
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 <http://www.gnu.org/licenses/>.
|
||||
|
||||
-->
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<title>Cleaning tool from ClearURLs</title>
|
||||
<!-- Required meta tags -->
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<link rel="icon" sizes="any" type="image/svg+xml" href="/img/clearurls.svg">
|
||||
|
||||
<!-- Bootstrap CSS -->
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="../css/dataTables.bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../css/core.css">
|
||||
<style>
|
||||
td {
|
||||
word-wrap: break-word;
|
||||
max-width: 200px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<nav class="navbar navbar-inverse">
|
||||
<div class="container">
|
||||
<div class="navbar-header">
|
||||
<span class="navbar-brand">
|
||||
<span class="pull-left"><img src="../img/clearurls.svg"
|
||||
width="30" height="30" alt=""></span>
|
||||
<span style="color: #FF7800;" class="pull-right" id="page_title"></span><br />
|
||||
<span class="label label-warning pull-left small-version"
|
||||
id="version"></span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4 col-md-offset-4 text-center">
|
||||
<h4 id="cleaning_tool_description"></h4>
|
||||
|
||||
<br />
|
||||
|
||||
<div class="form-group">
|
||||
<label for="dirtyURLs" id="cleaning_tool_dirty_urls_label"></label>
|
||||
<textarea id="dirtyURLs" name="dirtyURLs" class="form-control" rows="8" cols="60"></textarea>
|
||||
</div>
|
||||
<br />
|
||||
<p class="text-center">
|
||||
<button type="button" id="cleaning_tool_btn"
|
||||
class="btn btn-success" title="Clean the URLs"></button>
|
||||
</p>
|
||||
<br />
|
||||
<div class="form-group">
|
||||
<label for="cleanURLs" id="cleaning_tool_clean_urls_label"></label>
|
||||
<textarea id="cleanURLs" name="cleanURLs" class="form-control" rows="8" cols="60" readonly></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Optional JavaScript -->
|
||||
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
|
||||
<script src="../browser-polyfill.js"></script>
|
||||
<script src="../external_js/jquery-3.2.1.min.js"></script>
|
||||
<script src="../external_js/bootstrap.min.js"></script>
|
||||
<script src="../core_js/cleaning_tool.js"></script>
|
||||
<script src="../core_js/write_version.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
@@ -57,8 +57,11 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
</div>
|
||||
<div id="dialog"></div>
|
||||
<div class="row" id="config_section">
|
||||
<div class="col-sm-1 text-center">
|
||||
<a id="cleaning_tools" target="_blank"><span class="glyphicon glyphicon-wrench" style="font-size: 1.5em; margin-right: 1em;"></span></a>
|
||||
<a id="settings" target="_blank"><span class="glyphicon glyphicon-cog" style="font-size: 1.5em"></span></a>
|
||||
</div>
|
||||
<div class="col-sm-1">
|
||||
<a id="settings" target="_blank"><span class="pull-right glyphicon glyphicon-cog"></span></a>
|
||||
<h5><b id="configs_head"></b></h5>
|
||||
<label class="switch">
|
||||
<input type="checkbox" id="globalStatus">
|
||||
|
||||
@@ -29,13 +29,14 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
<!-- Bootstrap CSS -->
|
||||
<link rel="stylesheet" href="../css/bootstrap.min.css">
|
||||
<link rel="stylesheet" type="text/css" href="../css/switchButtons.css">
|
||||
<link rel="stylesheet" type="text/css" href="../css/core.css">
|
||||
<link rel="stylesheet" href="../css/pick-a-color-1.2.3.min.css">
|
||||
<style>
|
||||
td {
|
||||
word-wrap: break-word;
|
||||
max-width: 200px;
|
||||
}
|
||||
td {
|
||||
word-wrap: break-word;
|
||||
max-width: 200px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
@@ -46,55 +47,71 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
<span class="navbar-brand">
|
||||
<span class="pull-left"><img src="../img/clearurls.svg"
|
||||
width="30" height="30" alt=""></span>
|
||||
<span style="color: #FF7800;" class="pull-right" id="page_title"></span><br />
|
||||
<span class="label label-warning pull-left small-version"
|
||||
id="version"></span>
|
||||
</span>
|
||||
<span style="color: #FF7800;" class="pull-right" id="page_title"></span><br />
|
||||
<span class="label label-warning pull-left small-version"
|
||||
id="version"></span>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4 col-md-offset-4">
|
||||
<p class="text-center">
|
||||
<button type="button" id="reset_settings_btn"
|
||||
class="btn btn-danger" title="Reset everything settings"></button>
|
||||
</p>
|
||||
<br />
|
||||
<p>
|
||||
<label id="badged_color_label"></label><br />
|
||||
<input type="text" id="badged_color" value="" name="badged_color" class="pick-a-color form-control">
|
||||
</p>
|
||||
<br />
|
||||
<p>
|
||||
<label id="rule_url_label"></label><br />
|
||||
<input type="url" id="rule_url" value="" name="rule_url" class="form-control" />
|
||||
</p>
|
||||
<br />
|
||||
<p>
|
||||
<label id="hash_url_label"></label><br />
|
||||
<input type="url" id="hash_url" value="" name="hash_url" class="form-control" />
|
||||
</p>
|
||||
<br />
|
||||
<p>
|
||||
<label id="types_label"></label><br />
|
||||
<input type="text" id="types" value="" name="types" class="form-control" />
|
||||
|
||||
<br />
|
||||
|
||||
<label id="context_menu_enabled" style="font-weight: bold;"></label><br />
|
||||
<label class="switch">
|
||||
<input type="checkbox" id="contextMenuEnabled">
|
||||
<span class="slider round"></span>
|
||||
</label>
|
||||
</p>
|
||||
<br />
|
||||
<p>
|
||||
<label id="history_listener_enabled" style="font-weight: bold;"></label><br />
|
||||
<label class="switch">
|
||||
<input type="checkbox" id="historyListenerEnabled">
|
||||
<span class="slider round"></span>
|
||||
</label>
|
||||
</p>
|
||||
<br />
|
||||
<p class="text-center">
|
||||
<button type="button" id="save_settings_btn"
|
||||
class="btn btn-success" title="Save the settings"></button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4 col-md-offset-4">
|
||||
<p class="text-center">
|
||||
<button type="button" id="reset_settings_btn"
|
||||
class="btn btn-danger" title="Reset everything settings"></button>
|
||||
</p>
|
||||
<br />
|
||||
<p>
|
||||
<label id="badged_color_label"></label><br />
|
||||
<input type="text" id="badged_color" value="" name="badged_color" class="pick-a-color form-control">
|
||||
</p>
|
||||
<br />
|
||||
<p>
|
||||
<label id="rule_url_label"></label><br />
|
||||
<input type="url" id="rule_url" value="" name="rule_url" class="form-control" />
|
||||
</p>
|
||||
<br />
|
||||
<p>
|
||||
<label id="hash_url_label"></label><br />
|
||||
<input type="url" id="hash_url" value="" name="hash_url" class="form-control" />
|
||||
</p>
|
||||
<br />
|
||||
<p>
|
||||
<label id="types_label"></label><br />
|
||||
<input type="text" id="types" value="" name="types" class="form-control" />
|
||||
</p>
|
||||
<br />
|
||||
<p class="text-center">
|
||||
<button type="button" id="save_settings_btn"
|
||||
class="btn btn-success" title="Save the settings"></button>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Optional JavaScript -->
|
||||
<script src="../browser-polyfill.js"></script>
|
||||
<script src="../external_js/jquery-3.2.1.min.js"></script>
|
||||
<script src="../external_js/bootstrap.min.js"></script>
|
||||
<script src="../external_js/tinycolor-0.9.15.min.js"></script>
|
||||
<script src="../external_js/pick-a-color-1.2.3.min.js"></script>
|
||||
<script src="../core_js/settings.js"></script>
|
||||
<script src="../core_js/write_version.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
<!-- Optional JavaScript -->
|
||||
<script src="../browser-polyfill.js"></script>
|
||||
<script src="../external_js/jquery-3.2.1.min.js"></script>
|
||||
<script src="../external_js/bootstrap.min.js"></script>
|
||||
<script src="../external_js/tinycolor-0.9.15.min.js"></script>
|
||||
<script src="../external_js/pick-a-color-1.2.3.min.js"></script>
|
||||
<script src="../core_js/settings.js"></script>
|
||||
<script src="../core_js/write_version.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user