Some beautifications

This commit is contained in:
Kevin Röbert 2020-01-06 17:15:58 +01:00
parent 0417469a26
commit ccdca3b595
2 changed files with 12 additions and 7 deletions

View File

@ -6,14 +6,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [1.11.0] - 2020-01-06
### Added
- Added hyperlink auditing blocking [#184](https://gitlab.com/KevinRoebert/ClearUrls/issues/184)
- Added yandex link fix script, to avoid URL tracking [#305](https://gitlab.com/KevinRoebert/ClearUrls/issues/305)
### Compatibility note
- Require Firefox >= 55
- Require Chrome >= 22
### Added
- Added hyperlink auditing blocking [#184](https://gitlab.com/KevinRoebert/ClearUrls/issues/184)
- Added yandex link fix script, to avoid URL tracking [#305](https://gitlab.com/KevinRoebert/ClearUrls/issues/305)
## [1.10.0] - 2020-01-03
### Compatibility note

View File

@ -14,6 +14,12 @@
*
* 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/>.
*
* Based on:
* Remove Google Redirection
* https://github.com/kodango/Remove-Google-Redirection/blob/master/extension/chrome/remove-google-redirection.user.js
* Copyright (c) 2017 kodango
* MIT License: https://github.com/kodango/Remove-Google-Redirection/blob/master/LICENSE
*/
(function (window) {
"use strict";
@ -35,8 +41,7 @@
/*
* The main entry
*/
function main()
{
function main() {
injectFunction();
document.addEventListener('mouseover', function (event) {
@ -50,7 +55,7 @@
try {
a.removeAttribute('data-counter');
delete a.dataset.cthref;
} catch(e) {
} catch (e) {
console.log(e);
}
}